darwin library error
This commit is contained in:
@ -126,13 +126,16 @@ class lammps(object):
|
|||||||
lib_ext = ".dll"
|
lib_ext = ".dll"
|
||||||
modpath = winpath
|
modpath = winpath
|
||||||
else:
|
else:
|
||||||
|
"""
|
||||||
import platform
|
import platform
|
||||||
if platform.system() == "Darwin":
|
if platform.system() == "Darwin": # this flags an error on MacOSX
|
||||||
lib_ext = ".dylib"
|
lib_ext = ".dylib"
|
||||||
elif platform.system() == "Windows":
|
elif platform.system() == "Windows":
|
||||||
lib_ext = ".dll"
|
lib_ext = ".dll"
|
||||||
else:
|
else:
|
||||||
lib_ext = ".so"
|
lib_ext = ".so"
|
||||||
|
"""
|
||||||
|
lib_ext = ".so"
|
||||||
|
|
||||||
if not self.lib:
|
if not self.lib:
|
||||||
if name:
|
if name:
|
||||||
|
|||||||
Reference in New Issue
Block a user