-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (46 loc) · 1.72 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
#!/usr/bin/env python
import pathlib
from importlib.machinery import SourceFileLoader
from setuptools import find_packages, setup
version = SourceFileLoader("version", "starlette_request_id/version.py").load_module()
_ROOT = pathlib.Path(__file__).parent
with open(str(_ROOT / "README.md")) as f:
readme = f.read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.13",
"Operating System :: POSIX",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Environment :: Console",
"Intended Audience :: Developers",
]
setup(
name="starlette-request-id",
version=str(version.VERSION),
license="Apache License, Version 2.0",
description="Helper for starlette to add request id in logger",
long_description=readme,
long_description_content_type="text/markdown",
author="Pavel Liashkov",
author_email="pavel.liashkov@protonmail.com",
maintainer="Pavel Liashkov",
maintainer_email="pavel.liashkov@protonmail.com",
download_url="https://pypi.python.org/pypi/starlette-request-id",
url="https://github.com/bigbag/starlette-request-id",
platforms=["POSIX"],
classifiers=CLASSIFIERS,
python_requires=">=3.7",
install_requires=["request-id-helper", "starlette>=0.12,<1.0"],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="",
)