mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
nix build script: install some dependencies required for import base package
This commit is contained in:
@@ -1229,6 +1229,8 @@ if "IfcOpenShell-Python" in targets:
|
|||||||
run([make, "install/local"], cwd=os.path.join(python_dir, "ifcwrap"))
|
run([make, "install/local"], cwd=os.path.join(python_dir, "ifcwrap"))
|
||||||
|
|
||||||
if python_executable:
|
if python_executable:
|
||||||
|
run([python_executable, "-m", "ensurepip"])
|
||||||
|
run([python_executable, "-m", "pip", "install", "--user", "numpy", "typing_extensions"])
|
||||||
module_dir = os.path.dirname(
|
module_dir = os.path.dirname(
|
||||||
run([python_executable, "-c", "import inspect, ifcopenshell; print(inspect.getfile(ifcopenshell))"])
|
run([python_executable, "-c", "import inspect, ifcopenshell; print(inspect.getfile(ifcopenshell))"])
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user