Skip to content

Commit

Permalink
Add easy upload to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Feb 16, 2015
1 parent 5e4860c commit c23f89c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
except ImportError:
from distutils.core import setup


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

# auto-convert README.md
try:
import pypandoc
Expand Down

0 comments on commit c23f89c

Please sign in to comment.