Upload to PyPI for release task

This commit is contained in:
Lance Edgar 2023-05-08 15:36:02 -05:00
parent 70b1d72361
commit 9fe89f0190

View file

@ -47,8 +47,5 @@ def release(c):
# filename of built package
filename = 'rattail-nationbuilder-{}.tar.gz'.format(__version__)
# TODO: uncomment and update these details, to upload to private PyPI
#c.run('scp dist/{} rattail@pypi.example.com:/srv/pypi/rattail-nationbuilder/'.format(filename))
# TODO: or, uncomment this to upload to *public* PyPI
#c.run('twine upload dist/{}'.format(filename))
# upload to PyPI
c.run('twine upload dist/{}'.format(filename))