Skip to content

Commit

Permalink
WIP Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Sep 30, 2023
1 parent 8836c32 commit 9e703a1
Show file tree
Hide file tree
Showing 5 changed files with 337,460 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_tools/install_cexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ def check_cache_path_writable(cache_path):
cext_cache under the current directory where the script runs.
"""
try:
try:
os.makedirs(cache_path)
except OSError as e:
if e.errno != 17:
raise e
check_file = os.path.join(cache_path, "check.txt")
with open(check_file, "w") as f:
f.write("check")
Expand Down
Loading

0 comments on commit 9e703a1

Please sign in to comment.