Musicreater/setup.py

41 lines
1.5 KiB
Python
Raw Normal View History

2023-02-01 22:35:09 +08:00
# -*- coding: utf-8 -*-
import setuptools
import os
from Musicreater import __version__
2023-02-01 22:35:09 +08:00
os.chdir(os.path.dirname(os.path.abspath(__file__)))
with open("./requirements.txt", "r", encoding="utf-8") as fh:
2023-04-29 21:32:09 +08:00
dependences = fh.read().strip().split("\n")
with open("./README_EN.md", "r", encoding="utf-8") as fh:
2023-02-01 22:35:09 +08:00
long_description = fh.read().replace(
"./docs/", "https://github.com/TriM-Organization/Musicreater/blob/master/docs/"
)
setuptools.setup(
name="Musicreater",
version=__version__,
2024-07-18 16:21:10 +08:00
author="金羿Eilles, bgArray, 鱼旧梦ElapsingDreams",
2023-02-01 22:35:09 +08:00
author_email="TriM-Organization@hotmail.com",
2024-08-19 02:33:00 +08:00
description="A free open source library used for dealing with **Minecraft** digital musics.\n一款开源《我的世界》数字音频支持库。",
2023-02-01 22:35:09 +08:00
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/TriM-Organization/Musicreater",
packages=setuptools.find_packages(),
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: Chinese (Simplified)",
# "License :: OSI Approved :: Apache Software License",
2023-02-01 22:35:09 +08:00
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Multimedia",
"Topic :: Multimedia :: Sound/Audio :: MIDI",
2023-02-01 22:35:09 +08:00
],
2023-02-05 17:52:20 +08:00
# 需要安装的依赖
2023-04-29 21:32:09 +08:00
install_requires=dependences,
python_requires=">=3.8",
2023-02-01 22:35:09 +08:00
)