[Python-Dev] Compiling 2.7.2 on OS/2 (original) (raw)
Terry Reedy tjreedy at udel.edu
Sat Jan 7 10:17:33 CET 2012
- Previous message: [Python-Dev] Compiling 2.7.2 on OS/2
- Next message: [Python-Dev] Compiling 2.7.2 on OS/2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 1/7/2012 3:48 AM, Paul Smedley wrote:
using initposix() for 'os2' instead of initnonposix is the fix for this.
sysconfig.py also needs the following changes: --- \dev\Python-2.7.2-o\Lib\sysconfig.py 2012-01-06 19:27:14.000000000 +1030 +++ sysconfig.py 2012-01-07 19:03:00.000000000 +1030 @@ -46,7 +46,7 @@ 'scripts': '{base}/Scripts', 'data' : '{base}', }, - 'os2home': { + 'os2user': { 'stdlib': '{userbase}/lib/python{pyversionshort}', 'platstdlib': '{userbase}/lib/python{pyversionshort}', 'purelib': '{userbase}/lib/python{pyversionshort}/site-packages', @@ -413,9 +413,9 @@ CONFIGVARS['platbase'] = EXECPREFIX CONFIGVARS['projectbase'] = PROJECTBASE - if os.name in ('nt', 'os2'): + if os.name in ('nt'): initnonposix(CONFIGVARS) - if os.name == 'posix': + if os.name in ('posix', 'os2'): initposix(CONFIGVARS)
Submit a patch on the tracker, preferably as a file rather than cut and paste.
-- Terry Jan Reedy
- Previous message: [Python-Dev] Compiling 2.7.2 on OS/2
- Next message: [Python-Dev] Compiling 2.7.2 on OS/2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]