mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 04:49:58 +00:00
Only get bot build binaries and use latest python to fix latest install issues
This commit is contained in:
@@ -112,13 +112,11 @@ endif
|
|||||||
mkdir dist/working
|
mkdir dist/working
|
||||||
cd dist/working && wget https://github.com/IfcOpenShell/IfcOpenShell/archive/refs/heads/v0.8.0.zip
|
cd dist/working && wget https://github.com/IfcOpenShell/IfcOpenShell/archive/refs/heads/v0.8.0.zip
|
||||||
cd dist/working && unzip v0.8.0.zip
|
cd dist/working && unzip v0.8.0.zip
|
||||||
# IfcOpenBot sometimes lags behind, so we hotfix the Python utilities
|
# IfcOpenBot sometimes lags behind, so we only use its binaries
|
||||||
rm -rf dist/blenderbim/libs/site/packages/ifcopenshell/util/
|
mv dist/blenderbim/libs/site/packages/ifcopenshell/*ifcopenshell_wrapper* dist/working/
|
||||||
rm -rf dist/blenderbim/libs/site/packages/ifcopenshell/api/
|
rm -rf dist/blenderbim/libs/site/packages/ifcopenshell
|
||||||
cp -r dist/working/IfcOpenShell-0.8.0/src/ifcopenshell-python/ifcopenshell/util dist/blenderbim/libs/site/packages/ifcopenshell/
|
cp -r dist/working/IfcOpenShell-0.8.0/src/ifcopenshell-python/ifcopenshell dist/blenderbim/libs/site/packages/
|
||||||
cp -r dist/working/IfcOpenShell-0.8.0/src/ifcopenshell-python/ifcopenshell/api dist/blenderbim/libs/site/packages/ifcopenshell/
|
mv dist/working/*ifcopenshell_wrapper* dist/blenderbim/libs/site/packages/ifcopenshell/
|
||||||
cp dist/working/IfcOpenShell-0.8.0/src/ifcopenshell-python/ifcopenshell/*.py dist/blenderbim/libs/site/packages/ifcopenshell/
|
|
||||||
cp dist/working/IfcOpenShell-0.8.0/src/ifcopenshell-python/ifcopenshell/express/rule_executor.py dist/blenderbim/libs/site/packages/ifcopenshell/express/
|
|
||||||
# Provides bcf functionality
|
# Provides bcf functionality
|
||||||
cp -r dist/working/IfcOpenShell-0.8.0/src/bcf/src/bcf dist/blenderbim/libs/site/packages/
|
cp -r dist/working/IfcOpenShell-0.8.0/src/bcf/src/bcf dist/blenderbim/libs/site/packages/
|
||||||
# Provides IFCClash functionality
|
# Provides IFCClash functionality
|
||||||
|
|||||||
Reference in New Issue
Block a user