-
-
Notifications
You must be signed in to change notification settings - Fork 82
/
setup.py
72 lines (63 loc) · 2.8 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""Setup script for yandex-music-api."""
import re
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test
class PyTest(test):
"""PyTest test runner."""
def run_tests(self) -> None:
"""Run tests."""
import pytest
sys.exit(pytest.main(['tests']))
with open('yandex_music/__init__.py', encoding='UTF-8') as f:
version = re.findall(r"__version__ = '(.+)'", f.read())[0]
with open('README.md', 'r', encoding='UTF-8') as f:
readme = f.read()
setup(
name='yandex-music',
version=version,
author='Ilya (Marshal)',
author_email='[email protected]',
license='LGPLv3',
url='https://github.com/MarshalX/yandex-music-api/',
keywords='python yandex music api wrapper library client питон пайтон '
'яндекс музыка апи обёртка библиотека клиент',
description='Неофициальная Python библиотека для работы с API сервиса Яндекс.Музыка.',
long_description=readme,
long_description_content_type='text/markdown',
packages=find_packages(),
install_requires=['requests[socks]', 'aiohttp', 'aiofiles', 'typing-extensions'],
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Natural Language :: Russian',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Topic :: Internet',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
python_requires='~=3.8',
cmdclass={'test': PyTest},
tests_require=['pytest'],
project_urls={
'Documentation': 'https://yandex-music.rtfd.io',
'Changes': 'https://github.com/MarshalX/yandex-music-api/blob/main/CHANGES.md',
'Tracker': 'https://github.com/MarshalX/yandex-music-api/issues',
'Telegram chat': 'https://t.me/yandex_music_api',
'Codecov': 'https://codecov.io/gh/MarshalX/yandex-music-api',
'Codacy': 'https://app.codacy.com/gh/MarshalX/yandex-music-api',
},
)