We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7a642 commit c6f3f84Copy full SHA for c6f3f84
src/compas/_os.py
@@ -223,13 +223,11 @@ def prepare_environment(env=None):
223
if PYTHON_DIRECTORY:
224
if is_windows():
225
lib_bin = os.path.join(PYTHON_DIRECTORY, 'Library', 'bin')
226
- if os.path.exists(lib_bin) and lib_bin not in env['PATH']:
227
- env['PATH'] = lib_bin + os.pathsep + env['PATH']
228
-
229
else:
230
lib_bin = os.path.join(PYTHON_DIRECTORY, 'bin')
231
232
+
+ if os.path.exists(lib_bin) and lib_bin not in env['PATH']:
+ env['PATH'] = lib_bin + os.pathsep + env['PATH']
233
234
if CONDA_EXE:
235
env['CONDA_EXE'] = CONDA_EXE
0 commit comments