Skip to content

Commit

Permalink
Switch to Python 2.7 runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Dec 1, 2017
1 parent bf5873a commit e522f70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ def _get_python_include(env):
if env['pythoninclude']:
return env['pythoninclude']
elif env['wine64']:
return '/usr/lib/w64comp/w64python/2.6/include/'
return '/usr/lib/w64comp/w64python/2.7/include/'
elif env['wine']:
return '/usr/lib/w32comp/w32python/2.6/include/'
return '/usr/lib/w32comp/w32python/2.7/include/'
else:
import distutils.sysconfig
return distutils.sysconfig.get_python_inc()
Expand Down Expand Up @@ -501,11 +501,11 @@ def get_pyext_environment(env, mod_prefix, cplusplus=False):
# mslink tool complains
e['SHLIBPREFIX'] = ''
e['LDMODULESUFFIX'] = e['SHLIBSUFFIX'] = '.pyd'
# Directory containing python26.lib:
# Directory containing python27.lib:
if e['wine64']:
e.Append(LIBPATH=['/usr/lib/w64comp/w64python/2.6/lib/'])
e.Append(LIBPATH=['/usr/lib/w64comp/w64python/2.7/lib/'])
else:
e.Append(LIBPATH=['/usr/lib/w32comp/w32python/2.6/lib/'])
e.Append(LIBPATH=['/usr/lib/w32comp/w32python/2.7/lib/'])
else:
if platform == 'aix':
# Make sure compilers are in the PATH, so that Python's script for
Expand Down

0 comments on commit e522f70

Please sign in to comment.