-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (43 loc) · 1.67 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
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
extras_require = {
"dev": ["check-manifest", "colorama", "pygments", "twine", "wheel", "aiorun"],
"test": ["pytest", "pytest-cov", "portpicker", "pytest-benchmark"],
"doc": ["sphinx"],
}
extras_require["all"] = list(set().union(*extras_require.values()))
setup(
name="aiomsg",
version=open("VERSION").readline().strip(),
description="Socket-based abstraction for messaging patterns",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/cjrh/aiomsg",
author="Caleb Hattingh",
author_email="caleb.hattingh@gmail.com",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: System :: Networking",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: AsyncIO",
"Topic :: Communications",
],
keywords="asyncio socket network messaging",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
extras_require=extras_require,
)