forked from NLeSC/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
76 lines (70 loc) · 2.38 KB
/
setup.cfg
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
# see documentation, e.g.
# - https://packaging.python.org/tutorials/packaging-projects/#configuring-metadata
# - https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
# - https://www.python.org/dev/peps/pep-0314/
[metadata]
author = {{ cookiecutter.full_name }}
author_email = {{ cookiecutter.email }}
classifiers =
Development Status :: 2 - Pre-Alpha
Intended Audience :: Developers
{{ {"Apache Software License 2.0": "License :: OSI Approved :: Apache Software License",
"MIT license": "License :: OSI Approved :: MIT License",
"BSD license": "License :: OSI Approved :: BSD License",
"ISC license": "License :: OSI Approved :: ISC License (ISCL)",
"GNU General Public License v3 or later": "License :: OSI Approved :: GNU General Public License",
"Not open source": "License :: Other/Proprietary License"
}[cookiecutter.license] }}
Natural Language :: English
Programming Language :: Python :: 3
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
description = {{ cookiecutter.package_short_description }}
keywords =
{{ cookiecutter.keyword1 }}
{{ cookiecutter.keyword2 }}
long_description = file: README.md
long_description_content_type = text/markdown
name = {{ cookiecutter.package_name }}
project_urls =
Bug Tracker = {{ cookiecutter.repository }}/issues
url = {{ cookiecutter.repository }}
version = {{ cookiecutter.version }}
[options]
zip_safe = False
python_requires = >=3.7
include_package_data = True
packages = find:
install_requires =
[options.data_files]
# This section requires setuptools>=40.6.0
# It remains empty for now
# Check if MANIFEST.in works for your purposes
[options.extras_require]
dev =
bump2version
coverage [toml]
prospector[with_pyroma]
isort
pytest
pytest-cov
sphinx
sphinx_rtd_theme
sphinx-autoapi
tox
myst_parser
publishing =
twine
wheel
[options.packages.find]
include = {{ cookiecutter.package_name }}, {{ cookiecutter.package_name }}.*
[isort]
lines_after_imports = 2
force_single_line = 1
no_lines_before = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party = {{ cookiecutter.package_name }}
src_paths = {{ cookiecutter.package_name }},tests
line_length = 120