Sybase module on Mac OS X

Adam Swift <[email protected]>
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
Not sure if this belongs on this list, but seemed like it was worth 
passing along.

I just successfully built the Sybase module (with only a simple change 
to setup.py shown below) against a current build of python 2.3 on Mac 
OS X 10.2.3 with the Sybase ASE v12.5.  All the tests listed in section 
1.3 of the documentation passed and so far it seems to work great.

Only change I made was to insert the following at line 32 of setup.py 
(basically duplicating the logic from the 'nt' section)

         if os.environ.has_key('SYBASE_OCS'):
             ocs = os.environ['SYBASE_OCS']
             sybase = os.path.join(sybase, ocs)

I haven't tried building against the version of python that ships with 
Jaguar, but if anyone is interested let me know and I'll try it with a 
fresh 10.2 install.

To everyone who made this work - thank you!!

- adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.