-
Notifications
You must be signed in to change notification settings - Fork 96
/
setup.py
33 lines (28 loc) · 1.11 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
import re
from setuptools import setup
version = ''
with open('lavalink/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Version is not set')
setup(
name='lavalink',
packages=['lavalink'],
version=version,
description='A Lavalink WebSocket & API wrapper built around coverage, reliability and performance.',
author='Devoxin',
author_email='[email protected]',
entry_points={'console_scripts': ['lavalink = lavalink.__main__:main']},
url='https://github.com/Devoxin/Lavalink.py',
download_url='https://github.com/Devoxin/Lavalink.py/archive/{}.tar.gz'.format(version),
keywords=['lavalink'],
include_package_data=True,
install_requires=['aiohttp>=3.9.0,<4'],
extras_require={'docs': ['sphinx',
'pygments',
'guzzle_sphinx_theme',
'enum_tools',
'sphinx_toolbox'],
'development': ['pylint',
'flake8']}
)