From f4f40c4b16bd40874fa263b4ff13350959f597c6 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 21 Mar 2021 20:04:24 +1100 Subject: [PATCH] Fix fatal bug with BIMTester where languages were not bundled in installation. --- src/ifcblenderexport/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcblenderexport/Makefile b/src/ifcblenderexport/Makefile index 89a73f27e8..5d306fea22 100644 --- a/src/ifcblenderexport/Makefile +++ b/src/ifcblenderexport/Makefile @@ -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/