This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
83 lines (72 loc) · 2.66 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
"""Copyright 2018 Equinor ASA and The Netherlands Organisation for
Applied Scientific Research TNO.
Licensed under the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the conditions stated in the LICENSE file in the project root for
details.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
"""
import os
import setuptools
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
def _load_readme():
readme = os.path.join(PROJECT_ROOT, "README.md")
with open(readme) as f:
return f.read()
setuptools.setup(
name="configsuite",
author="Software Innovation Bergen, Equinor ASA and TNO",
url="https://github.com/equinor/configsuite",
description=(
"Config Suite is the result of recognizing the complexity of "
"software configuration."
),
long_description=_load_readme(),
long_description_content_type="text/markdown",
package_data={"configsuite": ["extension/_static/*"]},
packages=["configsuite", "configsuite.docs", "configsuite.extension"],
use_scm_version={"write_to": "configsuite/_version.py"},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Documentation",
"Topic :: Utilities",
],
python_requires=">=3.5",
install_requires=[
"PyYAML",
],
setup_requires=["setuptools_scm", "setuptools_scm_about"],
tests_require=[
"pytest",
"pytest-runner",
"pytest-pylint",
"pytest-flake8",
"black ; python_version>='3.6'",
"click ; python_version>='3.6'",
"pylint",
"pytest-cov",
"jinja2",
"coverage",
"unittest-xml-reporting",
"flake8",
"sphinx",
],
test_suite="tests",
)