File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ pandas/io/*.json
33
33
.idea /libraries /sass_stdlib.xml
34
34
35
35
.idea /pandas.iml
36
+ .build_cache_dir
Original file line number Diff line number Diff line change 12
12
import warnings
13
13
14
14
try :
15
- BUILD_CACHE_DIR = os .environ .get ('BUILD_CACHE_DIR' ,"" )
15
+ basedir = os .path .dirname (__file__ )
16
+ dotfile = os .path .join (basedir ,".build_cache_dir" )
17
+ BUILD_CACHE_DIR = ""
18
+ if os .path .exists (dotfile ):
19
+ BUILD_CACHE_DIR = open (dotfile ).readline ().strip ()
20
+ BUILD_CACHE_DIR = os .environ .get ('BUILD_CACHE_DIR' ,BUILD_CACHE_DIR )
21
+
16
22
if os .path .isdir (BUILD_CACHE_DIR ):
17
23
print ("--------------------------------------------------------" )
18
24
print ("BUILD CACHE ACTIVATED. be careful, this is experimental." )
You can’t perform that action at this time.
0 commit comments