This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
/
setup.py
62 lines (57 loc) · 1.79 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
import sys
from setuptools import setup, find_packages
from disco import VERSION
with open('requirements.txt') as f:
requirements = f.readlines()
with open('README.md') as f:
readme = f.read()
extras_require = {
'voice': ['pynacl==1.2.1'],
'http': ['flask==0.12.2'],
'yaml': ['pyyaml==3.12'],
'music': ['youtube_dl>=2018.1.21'],
'performance': [
'erlpack==0.3.2' if sys.version_info.major == 2 else 'earl-etf==2.1.2',
'ujson==1.35',
'wsaccel==0.6.2',
],
'sharding': ['gipc==0.6.0'],
'docs': ['biblio==0.0.4'],
}
setup(
name='disco-py',
author='b1nzy',
url='https://github.com/b1naryth1ef/disco',
version=VERSION,
packages=find_packages(),
license='MIT',
description='A Python library for Discord',
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
install_requires=requirements,
extras_require=extras_require,
test_suite='tests',
setup_requires=['pytest-runner==2.11.1'],
tests_require=[
'pytest==3.2.1',
'pytest-benchmark==3.1.1',
'flake8-tuple==0.2.13',
'flake8-quotes==1.0.0',
'flake8-comprehensions==1.4.1',
'flake8-commas==2.0.0',
'flake8-builtins==1.4.1',
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
])