From aa94e3758bf3e711d5af81dc3c7c7f55487c6b98 Mon Sep 17 00:00:00 2001 From: EillesWan Date: Sat, 29 Apr 2023 21:32:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E4=B8=8B=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Musicreater/__init__.py | 2 +- requirements.txt | 2 +- setup.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) 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, )