diff --git a/Musicreater/__init__.py b/Musicreater/__init__.py index 3bceb41..84619fa 100644 --- a/Musicreater/__init__.py +++ b/Musicreater/__init__.py @@ -19,7 +19,7 @@ Terms & Conditions: ../License.md from .main import * -__version__ = "0.3" +__version__ = "0.3.0" __all__ = [] __author__ = (("金羿", "Eilles Wan"), ("诸葛亮与八卦阵", "bgArray")) diff --git a/setup.py b/setup.py index 33e1204..af744a0 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- import setuptools +import Musicreater with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read().replace( @@ -8,11 +9,11 @@ with open("README.md", "r", encoding="utf-8") as fh: setuptools.setup( name="Musicreater", - version="0.2.3", + version=Musicreater.__version__, author="Eilles Wan, bgArray", author_email="TriM-Organization@hotmail.com", description="一款免费开源的 《我的世界》 mid音乐转换库。\n" - " A free open-source python library used to convert midi into Minecraft.", + " A free open-source python library used to convert midi into Minecraft.", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/TriM-Organization/Musicreater", @@ -31,4 +32,9 @@ setuptools.setup( "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], + # 需要安装的依赖 + install_requires=[ + 'mido', + "brotli" + ], )