-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (42 loc) · 1.56 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
import re
import sys
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.readlines()
with open('async_connect/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
with open('README.rst') as f:
readme = f.read()
if sys.version_info[1] == 6:
test_require = ['uvloop>=0.8.1', 'ujson>=1.35']
else:
test_require = ['ujson>=1.35']
setup(name='async-connect.py',
author='GiovanniMCMXCIX',
author_email='[email protected]',
url='https://github.com/GiovanniMCMXCIX/async-connect.py',
version=version,
packages=find_packages(),
license='MIT',
description='Asynchronous version of connect.py',
long_description=readme,
include_package_data=True,
python_requires='>=3.6.2',
install_requires=requirements,
extras_require={'performance': ['uvloop>=0.8.0', 'ujson>=1.35']},
test_suite='tests',
tests_require=test_require,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
)