Re: [cx-oracle-users] cx_OracleTools update for 2.6, + installer script
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2010-02-16 03:53:23
|
On Sun, Feb 14, 2010 at 1:08 AM, Mark Harrison <mh...@pi...> wrote: > Of course, we all know that cx_Oracle is the best thing > since sliced bread for Oracle users. :-) > But did you know that cx_OracleTools is the best thing since > cx_Oracle? :-) :-) > We've been tidying up some of our installation procedures, > and I noticed that there's not an installation script > for cx_OracleTools. > > Here's one. it does a couple of things besides the obvious > one of copying files to some public area: > > 1. it renames the files from Tool.py to Tool. > > 2. it puts Options.py into $LIB/cx_OracleTools/Options.py > for tidyness' sake. > > 3. it adds a #! line. > > I also fixed up <raise "msg"> to <raise Exception("msg")> > for 2.6 happiness. Patches attached. Hi Mark, I've already made these changes (switching from string based exception to Exception based exceptions) in Subversion trunk. In addition, I have the ability (using cx_Freeze) to generate binaries that can be installed -- either raw binaries or as an MSI package on Windows or an RPM package on Linux. Its been WAAAY too long since I have released a new version of cx_OracleTools. I keep planning on doing one but something else keeps getting in the way. :-) Hopefully I'll have a chance to do so sometime relatively soon..... I just need to finish off what I'm up to now and not find something else to do before I'm finished! :-) Please take a look at what I have in Subversion trunk right now and let me know if any of your changes would still be preferable. I did a quick scan myself but I may have missed something. Thanks! Anthony |