Skip to content

Commit

Permalink
Add 'publish' setup command
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamu committed Mar 15, 2018
1 parent a504200 commit 8dea61f
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 setup

VERSION = "1.1.2"
Expand Down Expand Up @@ -50,6 +52,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="team@pinaxproject.com",
Expand Down

0 comments on commit 8dea61f

Please sign in to comment.