Skip to content

Commit

Permalink
fixed 'publish' step
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 committed Jun 27, 2023
1 parent 895f00e commit 9aa0a01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ def launch_http_server(directory):
command = sys.argv[-1]
if command == 'publish':
os.system('rm -rf dist')
os.system('python setup.py sdist')
os.system('python3 setup.py sdist')
os.system('python3 setup.py bdist_wheel')
os.system('twine check dist/*') # check for formatting or other issues that would cause twine upload to error out
os.system('twine upload dist/*whl dist/*gz')
sys.exit()
elif command == "coverage":
Expand Down

0 comments on commit 9aa0a01

Please sign in to comment.