Skip to content

Commit

Permalink
install.py: Make it work with Anaconda Python on MacOSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed Oct 3, 2017
1 parent ebf567f commit 8ae142d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.py
Expand Up @@ -638,7 +638,8 @@ def fix_virtualenv_issue_with_anaconda(python, destdir):
# list `libpython*.so*` files
libs = os.listdir(anaconda_lib_dir)
libpython_files = [filename for filename in libs
if fnmatch(filename, 'libpython*.so*')]
if (fnmatch(filename, 'libpython*.so*')
or fnmatch(filename, 'libpython*.dylib'))]
if not libpython_files:
die(os.EX_SOFTWARE, "Unexpected Anaconda directory layout",
"""
Expand Down

0 comments on commit 8ae142d

Please sign in to comment.