Commit 52c848a6 authored by Hermann Krumrey's avatar Hermann Krumrey

Finally fix pypi uploading once and for all. (I hope)

parent e9958e7d
......@@ -48,7 +48,11 @@ def main():
username = os.environ["PYPI_USERNAME"]
password = os.environ["PYPI_PASSWORD"]
repo = "pypitest" if test else "pypi"
if test:
repo = "https://test.pypi.org/legacy/"
else:
repo = "https://upload.pypi.org/legacy/"
process_call(["python", "setup.py", "bdist_wheel", "sdist"])
process_call(["twine", "upload",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment