Skip to content

Commit 97a997e

Browse files
committed
fix path support for compiled-in libs on win32
1 parent bc93537 commit 97a997e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysces/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
__SILENT_START__ = False
6565

6666
extra_dll_dir = os.path.join(os.path.dirname(__file__), '.libs')
67-
if os.path.isdir(extra_dll_dir):
67+
if os.sys.platform=='win32' and os.path.isdir(extra_dll_dir):
6868
os.environ["PATH"] += os.pathsep + extra_dll_dir
6969

7070
if os.sys.platform == 'win32':

0 commit comments

Comments
 (0)