Fix fatal bug with BIMTester where languages were not bundled in installation.

This commit is contained in:
Dion Moult
2021-03-21 20:04:24 +11:00
parent f9d70fd51d
commit f4f40c4b16
+3
View File
@@ -147,6 +147,9 @@ endif
# Provides IFCClash functionality
cp -r dist/working/IfcOpenShell-0.6.0/src/ifcclash/* dist/blenderbim/libs/site/packages/
# Provides BIMTester functionality
cd dist/working && python -m venv env
cd dist/working && source env/bin/activate && pip install pybabel
cd dist/working && source env/bin/activate && cd ./IfcOpenShell-0.6.0/src/ifcbimtester/bimtester/locale && pybabel compile -d .
cp -r dist/working/IfcOpenShell-0.6.0/src/ifcbimtester/bimtester dist/blenderbim/libs/site/packages/
# Provides IFCCOBie functionality
cp -r dist/working/IfcOpenShell-0.6.0/src/ifccobie/* dist/blenderbim/libs/site/packages/