2017-05-20 09:40:43 +02:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools", "wheel"]
|
2020-04-10 16:46:21 +02:00
|
|
|
build-backend = "setuptools.build_meta"
|
2017-05-20 09:40:43 +02:00
|
|
|
|
2017-03-19 01:50:01 +01:00
|
|
|
[tool.towncrier]
|
|
|
|
package = "pip"
|
2018-03-31 17:20:57 +02:00
|
|
|
package_dir = "src"
|
2017-03-19 01:50:01 +01:00
|
|
|
filename = "NEWS.rst"
|
|
|
|
directory = "news/"
|
2018-04-22 19:43:10 +02:00
|
|
|
title_format = "{version} ({project_date})"
|
2018-08-14 06:09:56 +02:00
|
|
|
issue_format = "`#{issue} <https://github.com/pypa/pip/issues/{issue}>`_"
|
2021-04-02 00:25:09 +02:00
|
|
|
template = "tools/news/template.rst"
|
2019-08-27 11:24:08 +02:00
|
|
|
type = [
|
|
|
|
{ name = "Process", directory = "process", showcontent = true },
|
|
|
|
{ name = "Deprecations and Removals", directory = "removal", showcontent = true },
|
|
|
|
{ name = "Features", directory = "feature", showcontent = true },
|
|
|
|
{ name = "Bug Fixes", directory = "bugfix", showcontent = true },
|
|
|
|
{ name = "Vendored Libraries", directory = "vendor", showcontent = true },
|
|
|
|
{ name = "Improved Documentation", directory = "doc", showcontent = true },
|
|
|
|
{ name = "Trivial Changes", directory = "trivial", showcontent = false },
|
|
|
|
]
|
2019-12-14 23:30:07 +01:00
|
|
|
|
|
|
|
[tool.vendoring]
|
|
|
|
destination = "src/pip/_vendor/"
|
|
|
|
requirements = "src/pip/_vendor/vendor.txt"
|
|
|
|
namespace = "pip._vendor"
|
|
|
|
|
|
|
|
protected-files = ["__init__.py", "README.rst", "vendor.txt"]
|
2021-04-02 00:25:09 +02:00
|
|
|
patches-dir = "tools/vendoring/patches"
|
2019-12-14 23:30:07 +01:00
|
|
|
|
|
|
|
[tool.vendoring.transformations]
|
|
|
|
substitute = [
|
|
|
|
# pkg_resource's vendored packages are directly vendored in pip.
|
2019-12-15 16:52:04 +01:00
|
|
|
{ match='pkg_resources\.extern', replace="pip._vendor" },
|
|
|
|
{ match='from \.extern', replace="from pip._vendor" },
|
2019-12-14 23:30:07 +01:00
|
|
|
]
|
|
|
|
drop = [
|
|
|
|
# contains unnecessary scripts
|
|
|
|
"bin/",
|
|
|
|
# interpreter and OS specific msgpack libs
|
|
|
|
"msgpack/*.so",
|
|
|
|
# unneeded parts of setuptools
|
|
|
|
"easy_install.py",
|
|
|
|
"setuptools",
|
|
|
|
"pkg_resources/_vendor/",
|
|
|
|
"pkg_resources/extern/",
|
2021-02-10 14:48:53 +01:00
|
|
|
# unneeded part for tenacity
|
|
|
|
"tenacity/tests",
|
2019-12-14 23:30:07 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.vendoring.typing-stubs]
|
|
|
|
six = ["six.__init__", "six.moves.__init__", "six.moves.configparser"]
|
|
|
|
appdirs = []
|
|
|
|
|
|
|
|
[tool.vendoring.license.directories]
|
|
|
|
setuptools = "pkg_resources"
|
|
|
|
msgpack-python = "msgpack"
|
|
|
|
|
|
|
|
[tool.vendoring.license.fallback-urls]
|
|
|
|
pytoml = "https://github.com/avakar/pytoml/raw/master/LICENSE"
|
2020-03-12 15:27:28 +01:00
|
|
|
resolvelib = "https://github.com/sarugaku/resolvelib/raw/master/LICENSE"
|
2019-12-14 23:30:07 +01:00
|
|
|
webencodings = "https://github.com/SimonSapin/python-webencodings/raw/master/LICENSE"
|