Skip to content

Commit bc93537

Browse files
committed
add path support for compiled in binary libs for win32 wheels
1 parent 2dc8f6d commit bc93537

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pysces/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
__USE_GNUPLOT__ = False
6464
__SILENT_START__ = False
6565

66+
extra_dll_dir = os.path.join(os.path.dirname(__file__), '.libs')
67+
if os.path.isdir(extra_dll_dir):
68+
os.environ["PATH"] += os.pathsep + extra_dll_dir
69+
6670
if os.sys.platform == 'win32':
6771
__PyscesConfigDefault = PyscesConfig.__DefaultWin
6872
else:

0 commit comments

Comments
 (0)