This repository was archived by the owner on Nov 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (56 loc) · 2.06 KB
/
setup.py
File metadata and controls
61 lines (56 loc) · 2.06 KB
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
58
59
60
61
import ast
import re
import setuptools
from pathlib import Path
with open("requirements.txt") as stream:
raw = stream.read().splitlines()
requirements = [x for x in raw if not x.startswith("git+")]
long_description = (Path(__file__).parent / "README.md").read_text(encoding="UTF-8")
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('influx_logging_handler/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode('UTF-8')).group(1)))
setuptools.setup(
name="InfluxLoggingHandler",
version=version,
description="Handler for logging messages to InfluxDB 2 via Python logging -module.",
long_description=long_description,
author="Kimmo Huoman",
author_email="flazebot@gmail.com",
url="https://github.com/FlazeBot/InfluxLoggingHandler",
packages=[
"influx_logging_handler"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Communications",
"Topic :: Internet",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
license="MIT License",
keywords=[
"influx_logging_handler",
"influx_logging",
"influx",
"python",
"discord.py"
],
long_description_content_type="text/markdown",
install_requires=requirements,
python_requires=">=3.8.0",
project_urls={
"Source": "https://github.com/FlazeBot/InfluxLoggingHandler",
"Issue Tracker": "https://github.com/FlazeBot/InfluxLoggingHandler/issues",
},
)