use setuptools, fix release script

This commit is contained in:
oroulet 2018-02-01 08:42:41 +01:00
parent 68ce7160c2
commit 378a7d7fcd
2 changed files with 2 additions and 3 deletions

View File

@ -32,7 +32,7 @@ def release():
os.system("git push --tags")
ans = input("upload to pip?(Y/n)")
if ans in ("", "y", "yes"):
os.system("rm -rf sdist/*")
os.system("rm -rf dist/*")
os.system("python setup.py sdist")
os.system("twine upload dist/*")

View File

@ -1,5 +1,4 @@
from distutils.core import setup
from distutils.command.install_data import install_data
from setuptools import setup
setup(
name="urx",