-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
48 lines (40 loc) · 1.47 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
#!/usr/bin/env python
import pathlib
import setuptools
import sys
topdir = pathlib.Path(__file__).parent
def readfile(f):
return (topdir / f).read_text("utf-8").strip()
extra_options = {}
if sys.version_info.major == 3 and sys.version_info.minor >= 7:
extra_options["long_description_content_type"] = "text/markdown"
setuptools.setup(
name="asyncio-dgram",
version="2.2.0",
description="Higher level Datagram support for Asyncio",
long_description=readfile("README.md"),
url="https://github.com/jsbronder/asyncio-dgram",
author="Justin Bronder",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"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 :: 3.12",
],
package_data={"asyncio_dgram": ["*.pyi", "py.typed"]},
include_package_data=True,
packages=["asyncio_dgram"],
python_requires=">=3.6",
install_requires=readfile("requirements.txt").split(),
extras_require={"test": readfile("requirements-test.txt").split()},
**extra_options,
)