-
-
Notifications
You must be signed in to change notification settings - Fork 179
/
setup.cfg
155 lines (145 loc) 路 4.91 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[metadata]
name = PyScaffold
description = Template tool for putting up the scaffold of a Python project
author = Florian Wilhelm
author-email = Florian.Wilhelm@gmail.com
license = MIT
url = https://github.com/pyscaffold/pyscaffold/
project-urls =
Documentation = https://pyscaffold.org/
Twitter = https://twitter.com/PyScaffold
Conda-Forge = https://anaconda.org/conda-forge/pyscaffold
long-description = file: README.rst
long-description-content-type = text/x-rst; charset=UTF-8
platforms = any
classifiers =
Development Status :: 5 - Production/Stable
Topic :: Utilities
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: POSIX :: Linux
Operating System :: Unix
Operating System :: MacOS
Operating System :: Microsoft :: Windows
[options]
zip_safe = False
packages = find:
python_requires = >=3.5
include_package_data = True
package_dir =
=src
install_requires = setuptools>=38.3
[options.packages.find]
where = src
exclude =
tests
[options.extras_require]
# Add here additional requirements for extra features, like:
all =
pyscaffoldext-markdown
pyscaffoldext-pyproject
pyscaffoldext-custom-extension
pyscaffoldext-dsproject
pyscaffoldext-django
pyscaffoldext-cookiecutter
md =
pyscaffoldext-markdown
ds =
pyscaffoldext-dsproject
# Add here test dependencies (used by tox and pytest-runner)
testing =
sphinx # required for system tests
flake8 # required for system tests
pytest
pytest-cov
pytest-shutil
pytest-virtualenv
pytest-fixture-config
pytest-xdist
# We keep pytest-xdist in the test dependencies, so the developer can
# easily opt-in for distributed tests by adding, for example, the `-n 15`
# arguments in the command-line.
[options.entry_points]
distutils.setup_keywords =
use_pyscaffold = pyscaffold.integration:pyscaffold_keyword
console_scripts =
putup = pyscaffold.cli:run
pyscaffold.cli =
namespace = pyscaffold.extensions.namespace:Namespace
travis = pyscaffold.extensions.travis:Travis
pre_commit = pyscaffold.extensions.pre_commit:PreCommit
tox = pyscaffold.extensions.tox:Tox
gitlab = pyscaffold.extensions.gitlab_ci:GitLab
no_skeleton = pyscaffold.extensions.no_skeleton:NoSkeleton
setuptools.file_finders =
setuptools_scm = pyscaffold.contrib.setuptools_scm.integration:find_files
setuptools_scm.parse_scm =
.hg = pyscaffold.contrib.setuptools_scm.hg:parse
.git = pyscaffold.contrib.setuptools_scm.git:parse
setuptools_scm.parse_scm_fallback =
.hg_archival.txt = pyscaffold.contrib.setuptools_scm.hg:parse_archival
PKG-INFO = pyscaffold.contrib.setuptools_scm.hacks:parse_pkginfo
pip-egg-info = pyscaffold.contrib.setuptools_scm.hacks:parse_pip_egg_info
setuptools_scm.files_command =
.hg = pyscaffold.contrib.setuptools_scm.file_finder_hg:hg_find_files
.git = pyscaffold.contrib.setuptools_scm.file_finder_git:git_find_files
setuptools_scm.version_scheme =
guess-next-dev = pyscaffold.contrib.setuptools_scm.version:guess_next_dev_version
post-release = pyscaffold.contrib.setuptools_scm.version:postrelease_version
python-simplified-semver = setuptools_scm.version:simplified_semver_version
setuptools_scm.local_scheme =
node-and-date = pyscaffold.contrib.setuptools_scm.version:get_local_node_and_date
node-and-timestamp = pyscaffold.contrib.setuptools_scm.version:get_local_node_and_timestamp
dirty-tag = pyscaffold.contrib.setuptools_scm.version:get_local_dirty_tag
[test]
# py.test options when running `python setup.py test`
addopts = --verbose
extras = True
[tool:pytest]
# Options for py.test:
# Specify command line options as you would do when invoking py.test directly.
# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
# in order to write a coverage file that can be read by Jenkins.
addopts =
--cov pyscaffold --cov-config .coveragerc --cov-report term-missing
--verbose
# In order to use xdist, the developer can add, for example, the following
# arguments:
# --dist=load --numprocesses=auto
norecursedirs =
dist
build
.tox
testpaths = tests
markers =
slow: mark tests as slow (deselect with '-m "not slow"')
system: mark system tests
original_logger: do not isolate logger in specific tests
log_level = DEBUG
[aliases]
dists = sdist bdist_wheel
[build_sphinx]
# Options for Sphinx build
source_dir = docs
build_dir = build/sphinx
[devpi:upload]
# Options for the devpi: PyPI server and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no-vcs = 1
formats =
sdist
bdist_wheel
[flake8]
exclude =
src/pyscaffold/contrib
.tox
build
dist
.eggs
docs/conf.py