Added instructions on how to upload packages to pypi

This commit is contained in:
Sybren A. Stüvel 2018-11-27 15:59:58 +01:00
parent 16521f5fc5
commit fd1c04c752
2 changed files with 5 additions and 0 deletions

1
setup.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
# ***** BEGIN GPL LICENSE BLOCK *****
#
# This program is free software; you can redistribute it and/or

View File

@ -15,3 +15,7 @@ echo
echo "Don't forget to commit and tag:"
echo git commit -m \'Bumped version to $1\' setup.py blender_asset_tracer/__init__.py docs/conf.py
echo git tag -a v$1 -m \'Tagged version $1\'
echo
echo "Build the package & upload to PyPi using:"
echo "pipenv run ./setup.py sdist bdist_wheel"
echo "pipenv run twine upload dist/blender*asset*tracer*${VERSION}*"