8000 Merged in jamadden/numpy/issue-21-install-from-git-on-osx (pull reque… · prototype99/numpy@dbf1e7d · GitHub
[go: up one dir, main page]

Skip to content

Commit dbf1e7d

Browse files
committed
Merged in jamadden/numpy/issue-21-install-from-git-on-osx (pull request ganesh-k13#4)
Fix ganesh-k13#21 better, using os.path.realpath instead of hardcoding.
2 parents adfd548 + 0b0d29c commit dbf1e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# So to fix it, we change our __file__ because it's the least invasive thing to
4444
# do. This should only happen from git checkouts, pip uses a different mechanism
4545
# for tarballs. The OS X filesystem layout is also unlikely to change.
46-
__file__ = '/private' + __file__
46+
__file__ = os.path.realpath(__file__)
4747

4848
CLASSIFIERS = """\
4949
Development Status :: 5 - Production/Stable

0 commit comments

Comments
 (0)
0