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

Skip to content

Commit e29f442

Browse files
committed
Merged revisions 6633 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r6633 | jdh2358 | 2008-12-16 11:00:38 -0800 (Tue, 16 Dec 2008) | 1 line fixed os.link problem for win32 ........ svn path=/trunk/matplotlib/; revision=6634
1 parent 165187e commit e29f442

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)