[egenix-users] 2.0.7 Cygwin Differences

Steve Holden steve at holdenweb.com
Sat Dec 18 12:35:26 CET 2004


Whoops, only just realised I'd been bounced off the list after a change 
of email address. Anyway, just thought I'd log these necessary changes 
to have Commercial extensions 2.0.7 compile under cygwin, as they've 
gone amiss before (in past versions I believe we also had to rename some 
".cpp" files to ".c", but it appears that's been handled.

diff -rc egenix-mx-commercial-2.0.7/mxCOMMERCIAL.py 
egenix-mx-commercial-2.0.7cygwin/mxCOMMERCIAL.py
*** egenix-mx-commercial-2.0.7/mxCOMMERCIAL.py  Wed Dec  1 13:10:27 2004
--- egenix-mx-commercial-2.0.7cygwin/mxCOMMERCIAL.py    Sat Dec 18 
09:56:27 2004
***************
*** 55,61 ****
   packages = ['mx.ODBC',
               'mx.ODBC.Misc']

! if sys.platform[:3] == 'win':
       packages[len(packages):] = [

           'mx.ODBC.Windows'
--- 55,61 ----
   packages = ['mx.ODBC',
               'mx.ODBC.Misc']

! if sys.platform[:3] == 'win' or sys.platform == 'cygwin':
       packages[len(packages):] = [

           'mx.ODBC.Windows'
***************
*** 89,95 ****
   #
   ext_modules = []

! if sys.platform[:3] == 'win':
       ext_modules[len(ext_modules):] = [

           Extension('mx.ODBC.Windows.mxODBC',
--- 89,95 ----
   #
   ext_modules = []

! if sys.platform[:3] == 'win' or sys.platform == 'cygwin':
       ext_modules[len(ext_modules):] = [

           Extension('mx.ODBC.Windows.mxODBC',
***************
*** 167,173 ****

   ]

! if sys.platform[:3] == 'win':
       data_files[len(data_files):] = [

           'mx/ODBC/Windows/COPYRIGHT',
--- 167,173 ----

   ]

! if sys.platform[:3] == 'win' or sys.platform == 'cygwin':
       data_files[len(data_files):] = [

           'mx/ODBC/Windows/COPYRIGHT',
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119
-------------- next part --------------
An embedded message was scrubbed...
From: Steve Holden <steve at holdenweb.com>
Subject: 2.0.7 Cygwin Differences
Date: Sat, 18 Dec 2004 10:16:22 -0500
Size: 2982
Url: /mailman-archives/egenix-users/attachments/20041218/c8756a2f/null-0139.eml


More information about the egenix-users mailing list