From ce9a67bc381c218ee5162d274978620ec3d6f7d9 Mon Sep 17 00:00:00 2001 From: Brenton Cleeland Date: Tue, 1 Dec 2015 14:14:22 +1100 Subject: [PATCH] Add wheel support --- setup.cfg | 2 ++ setup.py | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..5e40900 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[wheel] +universal = 1 diff --git a/setup.py b/setup.py index e13a917..44aff2b 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +import sys from setuptools import setup """ @@ -5,6 +6,13 @@ pandoc README.md -o README.rst """ + +if 'publish' in sys.argv: + os.system('python setup.py sdist upload') + os.system('python setup.py bdist_wheel upload') + sys.exit() + + setup( name='piprot', version='0.9.5',