forked from devoxin/Lavalink.py
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
25 lines (20 loc) · 716 Bytes
/
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
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 interface built for discord.py',
author='Devoxin',
author_email='[email protected]',
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=['websockets>=5.0.1,<7.1.0', 'aiohttp']
)