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

Skip to content

Commit bb6ad27

Browse files
committed
hack to prevent distutils from linking our files
svn path=/branches/v0_98_5_maint/; revision=6621
1 parent 2e8e896 commit bb6ad27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
The matplotlib build options can be modified with a setup.cfg file. See
77
setup.cfg.template for more information.
88
"""
9+
# distutils is breaking our sdists for files in symlinked dirs.
10+
# distutils will copy if os.link is not available, so this is a hack
11+
# to force copying
12+
import os
13+
del os.link
914

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

0 commit comments

Comments
 (0)