2021-11-21 22:19:25 +00:00
|
|
|
def build():
|
|
|
|
import os
|
2022-03-03 15:29:03 +00:00
|
|
|
from editor import edit
|
|
|
|
os.system("rm -rf package/dist")
|
|
|
|
os.system("mkdir package/dist")
|
2021-11-21 22:19:25 +00:00
|
|
|
os.system("pip install --upgrade pip build twine")
|
|
|
|
os.system("clear")
|
2022-03-03 15:29:03 +00:00
|
|
|
edit()
|
2021-11-21 22:19:25 +00:00
|
|
|
os.system("clear")
|
|
|
|
print("Run these commands next: \n cd package\n python3 -m build\n python3 -m twine upload -r pypi dist/*")
|
|
|
|
# __token__
|
|
|
|
os.system("bash")
|