diff --git a/Musicreater/__init__.py b/Musicreater/__init__.py index c0c16c0..aef2682 100644 --- a/Musicreater/__init__.py +++ b/Musicreater/__init__.py @@ -19,6 +19,6 @@ Terms & Conditions: ../License.md from .main import * -__version__ = "0.5.0" +__version__ = "0.5.0.1" __all__ = [] __author__ = (("金羿", "Eilles Wan"), ("诸葛亮与八卦阵", "bgArray"), ("鸣凤鸽子", "MingFengPigeon")) diff --git a/requirements.txt b/requirements.txt index dfc8b0a..916b870 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ Brotli>=1.0.9 mido>=1.2.10 -TrimMCStruct>=0.0.5.6 \ No newline at end of file +TrimMCStruct>=0.0.5.7 \ No newline at end of file diff --git a/setup.py b/setup.py index c99818e..183de1a 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,9 @@ import setuptools import Musicreater +with open("requirements.txt", "r", encoding="utf-8") as fh: + dependences = fh.read().strip().split("\n") + with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read().replace( "./docs/", "https://github.com/TriM-Organization/Musicreater/blob/master/docs/" @@ -33,8 +36,5 @@ setuptools.setup( "Programming Language :: Python :: 3.10", ], # 需要安装的依赖 - install_requires=[ - "Brotli>=1.0.9", - "mido>=1.2.10", - ], + install_requires=dependences, )