Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32162e8

Browse files
committed
Patch from Perry Stoll: tweaks to Windows support.
1 parent 69628b0 commit 32162e8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Lib/distutils/sysconfig.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,13 @@ def _init_nt():
137137
os.path.join(sys.exec_prefix, "include", "config.h")), g)
138138
# set basic install directories
139139
g['LIBDEST']=os.path.join(sys.exec_prefix, "Lib")
140-
g['BINLIBDEST']=os.path.join(sys.exec_prefix, "Lib")
140+
g['BINLIBDEST']= os.path.join(sys.exec_prefix, "Lib")
141141

142+
# XXX hmmm.. a normal install puts include files here
143+
g['INCLUDEPY'] = os.path.join (sys.prefix, 'include' )
144+
145+
g['SO'] = '.dll'
146+
g['exec_prefix'] = sys.exec_prefix
142147

143148
try:
144149
exec "_init_" + os.name

0 commit comments

Comments
 (0)