Skip to content

Commit

Permalink
Add publish helper to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamu committed Mar 17, 2018
1 parent 20fab65 commit f5332ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os
import sys
from setuptools import find_packages, setup

VERSION = "2.0.0"
Expand Down Expand Up @@ -63,6 +65,13 @@
+-----------------+-----+-----+-----+-----+
"""


# Publish Helper.
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
sys.exit()


setup(
author="Pinax Team",
author_email="[email protected]",
Expand Down

0 comments on commit f5332ee

Please sign in to comment.