Added a deployment script
This commit is contained in:
parent
8cb3a506a0
commit
73a9528f0a
1 changed files with 11 additions and 0 deletions
11
deploy.py
Normal file
11
deploy.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import os
|
||||
|
||||
# print message
|
||||
print("\033[0;32mBuilding project for pypi...\033[0m\n")
|
||||
|
||||
# build package
|
||||
os.system("python setup.py sdist")
|
||||
# upload package
|
||||
os.system("twine upload dist/*")
|
||||
|
||||
print("\033[0;32mDeployment finished...\033[0m\n")
|
Loading…
Add table
Add a link
Reference in a new issue