mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
update 2023/4/19 pypi update & v0.4.0 update
This commit is contained in:
parent
5ffb654ec9
commit
b15c89b6c8
@ -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
15
clean_update.py
Normal 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!")
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user