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 c7b0f80 commit 41b1a2cCopy full SHA for 41b1a2c
src/compas/_os.py
@@ -6,6 +6,11 @@
6
import os
7
import sys
8
9
+try:
10
+ NotADirectoryError
11
+except NameError:
12
+ class NotADirectoryError(Exception):
13
+ pass
14
15
PY3 = sys.version_info[0] == 3
16
system = sys.platform
@@ -71,7 +76,7 @@ def prepare_environment():
71
76
variables.
72
77
"""
73
78
env = os.environ.copy()
74
-
79
+
75
80
if PYTHON_DIRECTORY:
81
lib_bin = os.path.join(PYTHON_DIRECTORY, 'Library', 'bin')
82
if os.path.exists(lib_bin):
0 commit comments