Skip to content

Commit 89893ea

Browse files
committed
Use twine to upload to pypi
1 parent 1d3cfe6 commit 89893ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ cd ../..
8080

8181
git push
8282
git push --tags
83-
python setup.py sdist upload
83+
rm -rf dist
84+
python setup.py sdist
85+
twine upload dist/*

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
'pydocstyle==3.0.0', 'pyflakes==1.2.3', 'pytest>=4.6',
3636
'flake8-putty',
3737
'coverage', 'pytest-cov'],
38+
'packaging': ['twine'],
3839
'convert_to_py2': ['3to2', 'future>=0.15.2'],
3940
}
4041

0 commit comments

Comments
 (0)