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

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"