fix: use twine for releases

The old method of releasing to pypi broke for whatever reason and switching to a supported toolchain is easier than debugging the old one.

Additionally:

- Update gitchangelog
- Fix license entry
- Set long description type
- Gitignore the temporary readme file
This commit is contained in:
Jose Diaz-Gonzalez
2021-01-01 21:26:54 -05:00
parent 638bf7a77e
commit 613576dd25
3 changed files with 11 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ setup(
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
@@ -30,6 +30,7 @@ setup(
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
long_description_content_type='text/x-rst',
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)