Update install.py
This commit is contained in:
@ -22,7 +22,7 @@ else: pydir = ""
|
|||||||
# copy lammps.py to pydir if it exists
|
# copy lammps.py to pydir if it exists
|
||||||
# if pydir not specified, install in site-packages via distutils setup()
|
# 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"
|
lib_ext = ".dylib"
|
||||||
else:
|
else:
|
||||||
lib_ext = ".so"
|
lib_ext = ".so"
|
||||||
|
|||||||
Reference in New Issue
Block a user