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 4d3e34e commit 0bd888bCopy full SHA for 0bd888b
setup.py
@@ -12,19 +12,15 @@
12
import warnings
13
14
try:
15
- BUILD_CACHE_DIR = os.environ.get('BUILD_CACHE_DIR')
16
-
17
- # uncomment to activate the build cache
18
- # BUILD_CACHE_DIR="/tmp/.pandas_build_cache/"
19
20
- if os.isdir(BUILD_CACHE_DIR):
+ BUILD_CACHE_DIR = os.environ.get('BUILD_CACHE_DIR',"")
+ if os.path.isdir(BUILD_CACHE_DIR):
21
print("--------------------------------------------------------")
22
print("BUILD CACHE ACTIVATED. be careful, this is experimental.")
23
24
else:
25
BUILD_CACHE_DIR = None
26
except:
27
- pass
+ BUILD_CACHE_DIR = None
28
29
# may need to work around setuptools bug by providing a fake Pyrex
30
0 commit comments