forked from Polyconseil/aioamqp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.34 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
import os
import re
import setuptools
import sys
py_version = sys.version_info[:2]
_file_content = open(os.path.join(os.path.dirname(__file__), 'aioamqp', 'version.py')).read()
rex = re.compile(r"""version__ = '(.*)'.*__packagename__ = '(.*)'""", re.MULTILINE | re.DOTALL)
VERSION, PACKAGE_NAME = rex.search(_file_content).groups()
description = 'AMQP implementation using asyncio'
setuptools.setup(
name=PACKAGE_NAME,
version=VERSION,
author="Polyconseil dev' team",
author_email='[email protected]',
url='https://github.com/polyconseil/aioamqp',
description=description,
long_description=open('README.rst').read(),
download_url='https://pypi.python.org/pypi/aioamqp',
packages=[
'aioamqp',
],
extras_require={
':python_version=="3.3"': ['asyncio'],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
platforms='all',
license='BSD'
)