You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The traditional addon installation manner for Blender is via ZIP files instead of PyPI.
I recently succeed to deploy taichi_blend as a ZIP file, without using pip, which make the installation easier and less error-prone.
I use the following command for creating a ZIP archive that contains all the requried dependencies:
mkdir Taichi-Blend
pip install taichi taichi_blend -t Taichi-Blend # install all dependencies of `taichi_blend` to that directory
cp bundle.py Taichi-Blend/__init__.py
zip -r Taichi-Blend.zip Taichi-Blend
The only difficulty is that different OS use different taichi_core.so, we may have 3 buildbots for Taichi-Elements-linux.zip, Taichi-Elements-win.zip, Taichi-Elements-osx.zip.
The text was updated successfully, but these errors were encountered:
Why didn't I see this when I made that video ( ̄ェ ̄;) https://www.bilibili.com/video/BV1rt4y1S7PJ
I made this video without the knowledge of this taichi_blend thing (; ̄д ̄)
I should have included this in that video ( ̄ェ ̄;)
My method in that video was to make use of the pip that comes with Blender instead of downloading another version of pip online.
For taichi_elements , I simply extracted the blender folder and the engine folder, put engine in blender , zip the blender folder and rename it to "taichi_elements", and now this zip file can already be installed using the standard blender-addon way.
I still think my method is useful though. If people want the latest version, they still need to do it manually. My method is simpler than the method described in taichi elements' README.md nevertheless.
The traditional addon installation manner for Blender is via ZIP files instead of PyPI.
I recently succeed to deploy taichi_blend as a ZIP file, without using
pip
, which make the installation easier and less error-prone.I use the following command for creating a ZIP archive that contains all the requried dependencies:
mkdir Taichi-Blend pip install taichi taichi_blend -t Taichi-Blend # install all dependencies of `taichi_blend` to that directory cp bundle.py Taichi-Blend/__init__.py zip -r Taichi-Blend.zip Taichi-Blend
The content of
Taichi-Blend
is:And the content of
bundle.py
is:So, maybe we can apply the same to taichi_elements by:
and release the generated
Taichi-Elements.zip
?The only difficulty is that different OS use different
taichi_core.so
, we may have 3 buildbots forTaichi-Elements-linux.zip
,Taichi-Elements-win.zip
,Taichi-Elements-osx.zip
.The text was updated successfully, but these errors were encountered: