Musicreater/setup.py

39 lines
1.5 KiB
Python
Raw Normal View History

2023-02-01 22:35:09 +08:00
# -*- coding: utf-8 -*-
import setuptools
2023-02-05 17:52:20 +08:00
import Musicreater
2023-02-01 22:35:09 +08:00
2023-04-29 21:32:09 +08:00
with open("requirements.txt", "r", encoding="utf-8") as fh:
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",
2023-02-05 17:52:20 +08:00
version=Musicreater.__version__,
2023-02-01 22:35:09 +08:00
author="Eilles Wan, bgArray",
author_email="TriM-Organization@hotmail.com",
description="一款免费开源的针对《我的世界》音乐的支持库\n"
2023-02-12 16:08:54 +08:00
"A free open-source python library used to convert midi into Minecraft.",
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",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
2023-02-05 17:52:20 +08:00
# 需要安装的依赖
2023-04-29 21:32:09 +08:00
install_requires=dependences,
2023-02-01 22:35:09 +08:00
)