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',