Update install.py

This commit is contained in:
Jan Janßen 2019-02-09 08:45:03 +01:00 committed by GitHub
parent b9d8b5f501
commit 0fade44b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ else: pydir = ""
# copy lammps.py to pydir if it exists
# if pydir not specified, install in site-packages via distutils setup()
if sys.platform == 'darwin':
if 'liblammps.dylib' in os.listdir('../src/'):
lib_ext = ".dylib"
else:
lib_ext = ".so"