From 73a9528f0a9732d4766f64c911c5fefe56f275c3 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Sat, 3 Jul 2021 18:50:04 +0200 Subject: [PATCH] Added a deployment script --- deploy.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 deploy.py diff --git a/deploy.py b/deploy.py new file mode 100644 index 0000000..7adbb6a --- /dev/null +++ b/deploy.py @@ -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") \ No newline at end of file