fix name for yap dll
This commit is contained in:
parent
ab84319604
commit
ea522eecfe
2
packages/pyswip/pyswip/core.py
Normal file → Executable file
2
packages/pyswip/pyswip/core.py
Normal file → Executable file
@ -28,7 +28,7 @@ except ImportError:
|
|||||||
try:
|
try:
|
||||||
if sys.platform[:3] == "win":
|
if sys.platform[:3] == "win":
|
||||||
# we're on windows
|
# we're on windows
|
||||||
_lib = CDLL("libYap.dll")
|
_lib = CDLL("yap.dll")
|
||||||
elif sys.platform[:3] == "dar":
|
elif sys.platform[:3] == "dar":
|
||||||
# we're on Mac OS
|
# we're on Mac OS
|
||||||
_lib = CDLL("libYap.dylib")
|
_lib = CDLL("libYap.dylib")
|
||||||
|
Reference in New Issue
Block a user