1
|
|
|
#!/usr/bin/env python |
2
|
|
|
# coding: utf-8 |
3
|
|
|
|
4
|
|
|
from setuptools import find_packages, setup |
5
|
|
|
|
6
|
|
|
|
7
|
|
|
def main() -> None: |
8
|
|
|
with open('README.md') as file: |
9
|
|
|
long_description = file.read() |
10
|
|
|
|
11
|
|
|
packages = find_packages(exclude=['tests']) |
12
|
|
|
package_data = {package: ['py.typed'] for package in packages} |
13
|
|
|
|
14
|
|
|
setup( |
15
|
|
|
name='aiohttp-rpc', |
16
|
|
|
version='1.3.1', |
17
|
|
|
author='Michael Sulyak', |
18
|
|
|
url='https://github.com/expert-m/aiohttp-rpc/', |
19
|
|
|
author_email='[email protected]', |
20
|
|
|
keywords=[ |
21
|
|
|
'aiohttp', 'asyncio', 'json-rpc', 'rpc', |
22
|
|
|
], |
23
|
|
|
install_requires=[ |
24
|
|
|
'aiohttp>=3,<4', |
25
|
|
|
], |
26
|
|
|
license='MIT license', |
27
|
|
|
description='A simple JSON-RPC for aiohttp', |
28
|
|
|
long_description=long_description, |
29
|
|
|
long_description_content_type='text/markdown', |
30
|
|
|
python_requires='>=3.7', |
31
|
|
|
packages=packages, |
32
|
|
|
package_data=package_data, |
33
|
|
|
classifiers=[ |
34
|
|
|
# 'Development Status :: 1 - Planning', |
35
|
|
|
# 'Development Status :: 2 - Pre-Alpha', |
36
|
|
|
# 'Development Status :: 3 - Alpha', |
37
|
|
|
# 'Development Status :: 4 - Beta', |
38
|
|
|
'Development Status :: 5 - Production/Stable', |
39
|
|
|
'Environment :: Web Environment', |
40
|
|
|
'Intended Audience :: Developers', |
41
|
|
|
'License :: OSI Approved :: MIT License', |
42
|
|
|
'Operating System :: OS Independent', |
43
|
|
|
'Programming Language :: Python', |
44
|
|
|
'Programming Language :: Python :: 3', |
45
|
|
|
'Programming Language :: Python :: 3.7', |
46
|
|
|
'Programming Language :: Python :: 3.8', |
47
|
|
|
'Programming Language :: Python :: 3.9', |
48
|
|
|
'Programming Language :: Python :: 3.10', |
49
|
|
|
'Programming Language :: Python :: 3.11', |
50
|
|
|
'Framework :: AsyncIO', |
51
|
|
|
'Framework :: aiohttp', |
52
|
|
|
'Topic :: Internet', |
53
|
|
|
'Topic :: Communications', |
54
|
|
|
'Topic :: Software Development :: Libraries', |
55
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules', |
56
|
|
|
], |
57
|
|
|
project_urls={ |
58
|
|
|
'GitHub: issues': 'https://github.com/expert-m/aiohttp-rpc/issues', |
59
|
|
|
'GitHub: repo': 'https://github.com/expert-m/aiohttp-rpc', |
60
|
|
|
}, |
61
|
|
|
) |
62
|
|
|
|
63
|
|
|
|
64
|
|
|
if __name__ == '__main__': |
65
|
|
|
main() |
66
|
|
|
|