forked from kalaspuff/tomodachi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (53 loc) · 1.94 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
#!/usr/bin/env python
import sys
import os
from setuptools import setup, find_packages
import tomodachi.__version__
install_requires = [
'aioamqp>=0.10.0',
'ujson>=1.35',
'uvloop>=0.8.0',
'aiobotocore>=0.3.1',
'tzlocal>=1.4'
]
PY_VER = sys.version_info
if not PY_VER >= (3, 5):
raise RuntimeError("tomodachi doesn't support Python earlier than 3.5")
def read(f: str) -> str:
return str(open(os.path.join(os.path.dirname(__file__), f)).read().strip())
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
'Development Status :: 2 - Pre-Alpha',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules'
]
setup(name='tomodachi',
version=tomodachi.__version__,
description=('Python 3 microservice library / framework using asyncio with HTTP, '
'AMQP and AWS SNS+SQS support.'),
long_description='\n\n'.join((read('README.rst'), read('CHANGES.rst'))),
classifiers=classifiers,
author='Carl Oscar Aaro',
author_email='[email protected]',
url='https://github.com/kalaspuff/tomodachi',
download_url='https://pypi.python.org/pypi/tomodachi',
license='MIT',
entry_points={
'console_scripts': [
'tomodachi = tomodachi.cli:cli_entrypoint'
]
},
install_requires=install_requires,
keywords=('tomodachi, microservice, microservices, framework, library, asyncio, '
'aws, sns, sqs, amqp, rabbitmq, http, easy, fast, python 3'),
zip_safe=False,
packages=find_packages(),
platforms='any',
include_package_data=True
)