mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
update blenderbim build to include translation data
This commit is contained in:
@@ -661,6 +661,13 @@ endif
|
|||||||
# Required for Desktop icon and file association
|
# Required for Desktop icon and file association
|
||||||
cp -r blenderbim/libs/desktop dist/blenderbim/libs/
|
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"
|
||||||
|
rm -rf dist/working
|
||||||
|
|
||||||
# Remove dependencies also bundled with Blender
|
# Remove dependencies also bundled with Blender
|
||||||
rm -rf dist/blenderbim/libs/site/packages/numpy
|
rm -rf dist/blenderbim/libs/site/packages/numpy
|
||||||
rm -rf dist/blenderbim/libs/site/packages/numpy.libs
|
rm -rf dist/blenderbim/libs/site/packages/numpy.libs
|
||||||
|
|||||||
Reference in New Issue
Block a user