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 f102c7c commit 3a54e80Copy full SHA for 3a54e80
1 file changed
src/ifcopenshell-python/scripts/dev_environment.py
@@ -11,6 +11,7 @@
11
from pathlib import Path
12
13
SITE = Path(site.getusersitepackages())
14
+SITE.mkdir(parents=True, exist_ok=True)
15
REPO_PATH = Path(__file__).parent.parent.parent.parent
16
REPO_PATH_SRC = REPO_PATH / "src"
17
assert REPO_PATH_SRC.exists(), f"'{REPO_PATH_SRC}' doesn't exist."
@@ -36,8 +37,8 @@
36
37
if package_path.exists():
38
# I guess it's a directory.
39
shutil.rmtree(package_path)
- package_path.symlink_to(repo_package_path, True)
40
print(f"Symlinking {package_path} -> {repo_package_path}")
41
+ package_path.symlink_to(repo_package_path, True)
42
43
44
PACKAGE_PATH = SITE / "ifcopenshell"
0 commit comments