1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# help me remember 'python setup' commands
help:
pypi - build sdist/bdist_egg and upload to pypi
clean - remove pypi leftovers
pypi:
python3 setup.py sdist bdist_egg upload
release:
@echo git tag -a vX.XX.X -s -f
@echo git push --tags
@echo
@echo Then follow instructions here to GPG sign it for Debian.
@echo https://wiki.debian.org/Creating%20signed%20GitHub%20releases
@echo
@echo Basically, download the tar.gz and zip, run this...
@echo `gpg --armor --detach-sign terminal-colors-*.tar.gz`
@echo And upload the resulting .asc file.
clean:
rm -rf build dist terminal_colors.egg-info
|