Skip to content

Commit

Permalink
Publish to PyPi with twine. 'setup.py sdist upload' is deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
gruns committed Jun 29, 2016
1 parent 46154a7 commit 03caee4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -22,8 +22,9 @@
r".*__version__ = '(.*?)'", re.S).match(fd.read()).group(1)

if sys.argv[-1] == 'publish':
"""Publish to PyPi."""
os.system('python setup.py sdist upload')
"""Publish to PyPi. Requires twine."""
os.system('python setup.py sdist')
os.system('twine upload dist/furl-%s.tar.gz' % VERSION)
sys.exit()

long_description = (
Expand Down

0 comments on commit 03caee4

Please sign in to comment.