Pass the VS*COMNTOOLS environment variable when building the Python module
This commit is contained in:
parent
604028d586
commit
7a30bfc9fd
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ localenv.Append(CPPPATH=[gcv('INCLUDEPY'), env['python_array_include']],
|
|||
if localenv['OS'] == 'Windows':
|
||||
localenv.Append(LIBPATH=pjoin(gcv('prefix'), 'libs'))
|
||||
|
||||
for var in ('VS80COMNTOOLS', 'VS90COMNTOOLS', 'VS100COMNTOOLS'):
|
||||
if var in os.environ:
|
||||
localenv[var] = os.environ[var]
|
||||
|
||||
make_setup = localenv.SubstFile('setup.py', 'setup.py.in')
|
||||
|
||||
if localenv['python_package'] == 'full':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue