forked from mosquito/aio-pika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (60 loc) · 1.96 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
# @copyright (c) 2002-2016 Acronis International GmbH. All rights reserved.
from setuptools import setup, find_packages
import sys
import os
from importlib.machinery import SourceFileLoader
module = SourceFileLoader("version", os.path.join("aio_pika", "version.py")).load_module()
requires = [
'shortuuid',
'pika<0.11',
'yarl',
]
if sys.version_info < (3, 4):
raise RuntimeError("aio-pika doesn't support Python version prior 3.4")
if sys.version_info < (3, 5):
requires.append('typing')
setup(
name='aio-pika',
version=module.__version__,
author=module.__author__,
author_email=module.team_email,
license=module.package_license,
description=module.package_info,
long_description=open("README.rst").read(),
platforms="all",
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Topic :: Internet',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: Microsoft',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: CPython',
],
packages=find_packages(exclude=['tests']),
install_requires=requires,
extras_require={
'develop': [
'asynctest<0.11',
'coverage!=4.3',
'coveralls',
'pylama',
'pytest',
'pytest-asyncio<0.6',
'pytest-cov',
'sphinx',
'sphinx-autobuild',
'timeout-decorator',
'tox>=2.4',
],
},
)