Skip to content

Commit a6b45ea

Browse files
committed
added anaconda environment lib path on mac
1 parent 65e95e0 commit a6b45ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/compas/_os.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ def prepare_environment():
8080
if PYTHON_DIRECTORY:
8181
lib_bin = os.path.join(PYTHON_DIRECTORY, 'Library', 'bin')
8282
if os.path.exists(lib_bin):
83-
env['PATH'] += ';' + lib_bin
83+
env['PATH'] += os.pathsep + lib_bin
84+
85+
lib_bin = os.path.join(PYTHON_DIRECTORY, 'lib')
86+
if os.path.exists(lib_bin):
87+
env['PATH'] += os.pathsep + lib_bin
8488

8589
return env
8690

0 commit comments

Comments
 (0)