anidl/deploy.py
2021-07-03 18:50:04 +02:00

11 lines
237 B
Python

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")