mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-01-31 15:31:55 +08:00
update 2023/4/19 pypi update2
This commit is contained in:
parent
882fa4175e
commit
54cd6b196e
@ -7,9 +7,24 @@ egg_info = [i for i in os.listdir() if i.endswith(".egg-info")][0]
|
|||||||
print(egg_info)
|
print(egg_info)
|
||||||
|
|
||||||
# remove build, dist, logs, TrimLog.egg-info folders
|
# remove build, dist, logs, TrimLog.egg-info folders
|
||||||
shutil.rmtree("build")
|
try:
|
||||||
shutil.rmtree("dist")
|
shutil.rmtree("build")
|
||||||
shutil.rmtree(egg_info)
|
except FileNotFoundError:
|
||||||
shutil.rmtree("logs")
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
shutil.rmtree("dist")
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
shutil.rmtree(egg_info)
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
shutil.rmtree("logs")
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
|
|
||||||
print("Cleaned up!")
|
print("Cleaned up!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user