Skip to content

Commit

Permalink
serve win too
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Sep 4, 2020
1 parent 3ea0f0a commit bf36950
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
bundle: package
mkdir -p build/Taichi-Blend
pip install dist/* -t build/Taichi-Blend
python3 -m pip install dist/*.whl -t build/Taichi-Blend
cp bundle.py build/Taichi-Blend/__init__.py
rm -f build/Taichi-Blend.zip
cd build && zip -r Taichi-Blend.zip Taichi-Blend

package:
rm -rf dist/*
python setup.py bdist_wheel
python3 setup.py bdist_wheel

.PHONY: bundle
4 changes: 2 additions & 2 deletions bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
'name': 'Taichi Blend',
'description': 'Taichi Blender intergration for creating physic-based animations',
'author': 'Taichi Developers',
'version': (0, 0, 0),
'blender': (2, 82, 0),
'version': (0, 0, 1),
'blender': (2, 81, 0),
'location': 'Scripting module',
'warning': 'Work in progress',
'support': 'COMMUNITY',
Expand Down
9 changes: 9 additions & 0 deletions make.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
del /f /s dist\*.whl
python setup.py bdist_wheel
mkdir build\Taichi-Blend
python -m pip install dist\taichi_blend-0.0.1-py3-none-any.whl -t build\Taichi-Blend
copy bundle.py build\Taichi-Blend\__init__.py
del /f /s build\Taichi-Blend.zip
cd build
zip -r Taichi-Blend.zip Taichi-Blend
cd ..

0 comments on commit bf36950

Please sign in to comment.