-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (52 loc) · 2.07 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
from os.path import dirname, join
from setuptools import find_packages, setup
def read(name, **kwargs):
with open(
join(dirname(__file__), name), encoding=kwargs.get("encoding", "utf8")
) as openfile:
return openfile.read()
setup(
name="powerflex-logging-utilities",
packages=find_packages("src"),
package_dir={"": "src"},
zip_safe=True,
version=read("src/powerflex_logging_utilities/VERSION").strip(),
package_data={"powerflex_logging_utilities": ["VERSION", "py.typed"]},
include_package_data=True,
license="MIT License",
description="Helpful code for logging in Python",
long_description=read("README.md"),
long_description_content_type="text/markdown",
url="https://github.com/edf-re/powerflex_logging_utilities_py",
project_urls={
"Issue Tracker": "https://github.com/edf-re/powerflex_logging_utilities_py/issues",
},
keywords=["NATS", "NATS request", "aiodebug", "async", "JSON logging"],
# Only 3.8+
python_requires=">2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*",
install_requires=[
"aiodebug>=2.3.0",
"python-json-logger>=2.0.0",
],
extras_require={
"pydantic": ["pydantic>=1.9"],
"pydantic2": ["pydantic>=2", "pydantic_settings>=2"],
"nats-and-pydantic": ["nats-py>=2", "pydantic"],
"nats-and-pydantic2": ["nats-py>=2", "pydantic>=2", "pydantic_settings>=2"],
},
classifiers=[
"Intended Audience :: Developers",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Utilities",
],
)