-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (58 loc) · 2.12 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
59
60
61
62
63
64
#!/usr/bin/python3
# -*- coding=utf-8 -*-
r"""
"""
import sys; sys.path.append('./src') # noqa
import setuptools
from configlib import __author__, __version__, __description__, __license__
install_requires = []
validation_requires = ["pydantic"]
yaml_requires = ["pyyaml"]
toml_requires = ["toml;python_version<'3.11'"]
json5_requires = ["json-five"]
dotenv_requires = ["python-dotenv"]
all_requires = [validation_requires, yaml_requires, toml_requires, json5_requires, dotenv_requires]
extras_require = {
'validation': validation_requires,
'yaml': yaml_requires,
'toml': toml_requires,
'json5': json5_requires,
'dotenv': dotenv_requires,
'all': all_requires,
}
setuptools.setup(
name="config-library",
version=__version__,
description=__description__,
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author=__author__,
license=__license__,
url="https://github.com/utility-libraries/configlib-py",
project_urls={
"Organisation Github": "https://github.com/utility-libraries",
"Homepage": "https://github.com/utility-libraries/configlib-py/",
"Documentation": "https://utility-libraries.github.io/configlib-py/",
"Bug Tracker": "https://github.com/utility-libraries/configlib-py/issues",
},
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Utilities",
],
python_requires=">=3.5",
install_requires=install_requires,
extras_require=extras_require,
test_suite="tests",
)