Skip to content

Instantly share code, notes, and snippets.

@genadyp
Created June 29, 2021 10:24
Show Gist options
  • Save genadyp/5eb4065afce248c7fb8ea76bbf6e44a3 to your computer and use it in GitHub Desktop.
Save genadyp/5eb4065afce248c7fb8ea76bbf6e44a3 to your computer and use it in GitHub Desktop.
setup.cfg
# https://github.com/pypa/build/blob/main/setup.cfg
[metadata]
name = build
version = 0.5.1
description = A simple, correct PEP517 package builder
long_description = file: README.md
long_description_content_type = text/markdown
author = Filipe Laíns
author_email = lains@riseup.net
license = MIT
license_file = LICENSE
classifiers =
License :: OSI Approved :: MIT License
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
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
project_urls =
homepage = https://github.com/pypa/build
changelog = https://pypa-build.readthedocs.io/en/stable/changelog.html
[options]
packages = find:
install_requires =
packaging>=19.0
pep517>=0.9.1
toml>=0.10.0
colorama;os_name == "nt" # not actually a runtime dependency, only supplied as there is not "recomended dependency" support
importlib-metadata>=0.22;python_version < "3.8"
typing>=3.5.3.0;python_version < "3"
virtualenv>=20.0.35;python_version < "3"
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
package_dir =
=src
[options.entry_points]
console_scripts =
pyproject-build = build.__main__:entrypoint
pipx.run =
build = build.__main__:entrypoint
[options.extras_require]
docs =
furo>=2020.11.19b18
sphinx~=3.0
sphinx-argparse-cli>=1.5
sphinx-autodoc-typehints>=1.10
test =
filelock>=3
pytest>=4
pytest-cov>=2
pytest-mock>=2
pytest-rerunfailures>=8.0
pytest-xdist>=1.34
setuptools>=42.0.0
wheel>=0.36.0
pathlib2>=2.0.0;python_version < "3"
typing =
mypy==0.800
typing-extensions>=3.7.4.3
virtualenv =
virtualenv>=20.0.35
[options.package_data]
build =
py.typed
[options.packages.find]
where = src
[bdist_wheel]
universal = 1
[tool:pytest]
junit_family = xunit2
norecursedirs = tests/integration/*
markers =
isolated
[flake8]
max-line-length = 127
max-complexity = 10
extend-ignore = E203
[mypy]
ignore_missing_imports = True
strict = True
[coverage:run]
omit =
setup.py
*bin/pyproject-build
*bin\pyproject-build.exe
[coverage:report]
exclude_lines =
\#\s*pragma: no cover
^\s*raise NotImplementedError\b
[coverage:paths]
source =
src
*/site-packages
*\site-packages
[coverage:html]
show_contexts = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment