Skip to content

Commit

Permalink
Optional build to temp-dir #2
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Aug 26, 2024
1 parent 158ee69 commit 57d8823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_extension(debug: bool = False, use_temp_dir: bool = False) -> None:
if use_temp_dir:
build_temp = Path(TemporaryDirectory(suffix=".build-temp").name) / "extension_it_in"
else:
build_temp = Path(".") / "build"
build_temp = Path(".")
# print("cwd:", os.getcwd(), "build-dir:", build_temp, "top:", str(TOP_DIR))
if not build_temp.exists():
build_temp.mkdir(parents=True)
Expand Down

0 comments on commit 57d8823

Please sign in to comment.