-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
58 lines (52 loc) · 1.77 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
58
from os import path
from setuptools import setup
EXTRAS_REQUIRE = {
"graylog": ["graypy>=2.0.0,<3.0.0"],
"tests": ["pytest", "pytest-randomly", "pytest-cov"],
"lint": [
"isort",
"black",
"flake8",
"flake8-bugbear",
"flake8-builtins",
"flake8-comprehensions",
"mypy",
"docformatter",
"pre-commit",
],
"tools": ["codecov", "bump2version"],
}
# Install all dependencies for development
EXTRAS_REQUIRE["dev"] = (
EXTRAS_REQUIRE["graylog"] + EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + EXTRAS_REQUIRE["tools"]
)
def read(fname: str) -> str:
"""Helper to read README."""
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, fname), encoding="utf-8") as f:
return f.read()
setup(
name="loggo2",
version="10.1.3", # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
author="Bitpanda GmbH",
author_email="nosupport@bitpanda.com",
description="Python logging tools",
url="https://github.com/bitpanda-labs/loggo2",
project_urls={"Changelog": "https://github.com/bitpanda-labs/loggo2/blob/master/CHANGELOG.md"},
keywords="bitpanda utilities logging",
packages=["loggo2"],
package_data={"loggo2": ["py.typed"]},
long_description=read("README.md"),
long_description_content_type="text/markdown",
install_requires=["typing-extensions>=4.2.0,<5.0.0; python_version>='3.9'"],
extras_require=EXTRAS_REQUIRE,
python_requires=">=3.9",
license="MIT",
classifiers=[
"Topic :: Utilities",
"Typing :: Typed",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
],
)