mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-07-06 22:42:14 +08:00
feat: 更新太大了不想总结自己去看提交记录吧(已知把配置文件换成了yaml
This commit is contained in:
24
setup.py
Normal file
24
setup.py
Normal file
@ -0,0 +1,24 @@
|
||||
from setuptools import setup
|
||||
import toml
|
||||
|
||||
try:
|
||||
version = toml.load("./pyproject.toml")["tool"]["poetry"]["version"]
|
||||
description = toml.load("./pyproject.toml")["tool"]["poetry"]["description"]
|
||||
except Exception:
|
||||
version = "1.0.0"
|
||||
description = "Description not available"
|
||||
|
||||
setup(
|
||||
name='lx_music_api_server_setup',
|
||||
version=version,
|
||||
scripts=['poetry_run.py'],
|
||||
author='helloplhm-qwq',
|
||||
author_email='helloplhm-qwq@outlook.com',
|
||||
description=description,
|
||||
url='https://github.com/helloplhm-qwq/lx-music-api-server',
|
||||
classifiers=[
|
||||
'Programming Language :: Python :: 3',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Operating System :: OS Independent',
|
||||
],
|
||||
)
|
Reference in New Issue
Block a user