-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
62 lines (56 loc) · 2.2 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
from setuptools import setup, find_packages
from datetime import datetime
__author__ = 'Naor Livne'
__author_email__ = '[email protected]'
__version__ = datetime.now().strftime("%Y.%m.%d.%H.%M")
# read the README.md file for the long description of the package
with open('README.md') as f:
long_description = f.read()
# minimum requirement list
requirements = [
"PyYAML",
"toml",
"configobj",
"xmltodict",
"pyhcl",
"python-dotenv",
"dpath"
]
# optional requirements, typing is used for support of Python versions 3.4 & lower, note 3.4 and lower is untested
extra_requirements = {
'typing': ["typing"]
}
setup(
name='parse_it',
author=__author__,
author_email=__author_email__,
version=__version__,
description="A python library for parsing multiple types of config files, envvars and command line arguments "
"which takes the headache out of setting app configurations.",
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
extras_require=extra_requirements,
scripts=['setup.py'],
license="LGPLv3",
keywords="parse_it parsing parse parser yaml json xml toml ini cfg hcl envvar environment_variable config "
"cli_args command_line_arguments tml yml configuration configuration_file",
url="https://github.com/naorlivne/parse_it",
install_requires=requirements,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
)