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

Skip to content

Commit 38b7a4b

Browse files
committed
fixed os.link problem for win32
svn path=/branches/v0_98_5_maint/; revision=6633
1 parent 107bddd commit 38b7a4b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
# distutils will copy if os.link is not available, so this is a hack
1111
# to force copying
1212
import os
13-
del os.link
13+
try:
14+
del os.link
15+
except AttributeError:
16+
pass
1417

1518
# This dict will be updated as we try to select the best option during
1619
# the build process. However, values in setup.cfg will be used, if

0 commit comments

Comments
 (0)