Skip to content

Commit

Permalink
updated setup.py publish commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 committed May 11, 2021
1 parent 73ce668 commit 9855a13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Expand Up @@ -49,7 +49,10 @@ def launch_http_server(directory):

command = sys.argv[-1]
if command == 'publish':
os.system('python setup.py sdist upload')
os.system('rm -rf dist')
os.system('python setup.py sdist')
os.system('python3 setup.py bdist_wheel')
os.system('twine upload dist/*whl dist/*gz')
sys.exit()
elif command == "coverage":
try:
Expand Down

0 comments on commit 9855a13

Please sign in to comment.