-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
88 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,79 @@ | ||
[build-system] | ||
requires = ["setuptools >=42.0"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["flit-core >= 3.4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "build" | ||
version = "0.9.0" | ||
description = "A simple, correct PEP 517 build frontend" | ||
readme = "README.md" | ||
requires-python = ">= 3.6" | ||
license.file = "LICENSE" | ||
authors = [ | ||
{ name = "Filipe Laíns", email = "[email protected]" }, | ||
{ name = "Bernát Gábor", email = "[email protected]" }, | ||
{ name = "layday", email = "[email protected]" }, | ||
{ name = "Henry Schreiner", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"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", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
urls.homepage = "https://github.com/pypa/build" | ||
urls.changelog = "https://pypa-build.readthedocs.io/en/stable/changelog.html" | ||
|
||
dependencies = [ | ||
"packaging >= 19.0", | ||
"pep517 >= 0.9.1", | ||
# not actually a runtime dependency, only supplied as there is not "recommended dependency" support | ||
'colorama; os_name == "nt"', | ||
'importlib-metadata >= 0.22; python_version < "3.8"', | ||
# toml can be used instead -- in case it makes bootstrapping easier | ||
'tomli >= 1.0.0; python_version < "3.11"', | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"furo >= 2021.08.31", | ||
"sphinx ~= 4.0", | ||
"sphinx-argparse-cli >= 1.5", | ||
"sphinx-autodoc-typehints >= 1.10", | ||
] | ||
test = [ | ||
"filelock >= 3", | ||
"pytest >= 6.2.4", | ||
"pytest-cov >= 2.12", | ||
"pytest-mock >= 2", | ||
"pytest-rerunfailures >= 9.1", | ||
"pytest-xdist >= 1.34", | ||
"toml >= 0.10.0", | ||
"wheel >= 0.36.0", | ||
'setuptools >= 42.0.0; python_version < "3.10"', | ||
'setuptools >= 56.0.0; python_version >= "3.10"', | ||
] | ||
typing = [ | ||
"importlib-metadata >= 4.6.4", | ||
"mypy == 0.942", | ||
"typing-extensions >= 3.7.4.3", | ||
] | ||
virtualenv = [ | ||
"virtualenv >= 20.0.35", | ||
] | ||
|
||
[project.scripts] | ||
pyproject-build = "build.__main__:entrypoint" | ||
|
||
[project.entry-points."pipx.run"] | ||
build = "build.__main__:entrypoint" | ||
|
||
[tool.coverage.run] | ||
source = [ | ||
|
@@ -49,7 +122,6 @@ strict = true | |
show_error_codes = true | ||
enable_error_code = ["ignore-without-code", "truthy-bool", "redundant-expr"] | ||
|
||
|
||
[[tool.mypy.overrides]] | ||
module = [ | ||
"colorama", # Optional dependency | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters