-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
executable file
·37 lines (32 loc) · 962 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
default:
@make dist
#rm -rf build/ dist/ *.egg-info
pip install -r requirements.txt
pip uninstall blender_addon_tester -y
pip install dist/*.whl
dist:
rm -rf build/ dist/ *.egg-info
python setup.py clean --all
python setup.py bdist_wheel
twine:
twine upload \
--verbose \
--repository-url https://upload.pypi.org/legacy/ dist/* \
-u __token__ \
-p $(PYPY_API)
# all:
# # Set a BLENDER_CACHE if not set yet
# #export BLENDER_CACHE=${BLENDER_CACHE:-"~/.blender_cache"}
# # Set a BLENDER_VERSION if not set yet
# #export BLENDER_VERSION=${BLENDER_VERSION:-"2.80"}
# rm -rf build/ dist/ *.egg-info
# pip install -r requirements.txt
# pip uninstall blender_addon_tester -y
# python setup.py bdist_wheel
# pip install dist/*.whl
# # cd examples/testing-*/
# # pwd
# # for testable_file in $(ls test_addon*.py); do
# # python "$testable_file" $BLENDER_VERSION fake_addon;
# # done
# # cd ../..