run bbim_translations.py without bpy

This commit is contained in:
Andrej730
2024-01-19 14:13:17 +05:00
parent b824ab4c4f
commit d1e2009d78
2 changed files with 244 additions and 243 deletions
+1 -3
View File
@@ -697,10 +697,8 @@ endif
cp -r blenderbim/libs/desktop dist/blenderbim/libs/
# generate translations module for BBIM build
# note that bpy is typically available only for current Blender python version
pip install bpy
git clone https://github.com/IfcOpenShell/blenderbim-translations.git dist/working
python blenderbim/scripts/bbim_translations.py -i "dist/working" -o "dist/blenderbim/translations.py"
python blenderbim/scripts/bbim_translations.py -i "dist/working" -o "dist/blenderbim"
rm -rf dist/working
# Remove dependencies also bundled with Blender