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

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