update 2023/4/19 pypi update & v0.4.0 update

This commit is contained in:
bgArray 2023-04-19 21:17:51 +08:00
parent 5ffb654ec9
commit b15c89b6c8
3 changed files with 18 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Terms & Conditions: ../License.md
from .main import * from .main import *
__version__ = "0.3.2" __version__ = "0.4.0"
__all__ = [] __all__ = []
__author__ = (("金羿", "Eilles Wan"), ("诸葛亮与八卦阵", "bgArray")) __author__ = (("金羿", "Eilles Wan"), ("诸葛亮与八卦阵", "bgArray"))

15
clean_update.py Normal file
View File

@ -0,0 +1,15 @@
import shutil
import os
# find the full path of .egg-info folder
egg_info = [i for i in os.listdir() if i.endswith(".egg-info")][0]
print(egg_info)
# remove build, dist, logs, TrimLog.egg-info folders
shutil.rmtree("build")
shutil.rmtree("dist")
shutil.rmtree(egg_info)
shutil.rmtree("logs")
print("Cleaned up!")

View File

@ -1,2 +1,3 @@
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
python -m twine upload dist/* python -m twine upload dist/*
python clean_update.py