diff options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/pyproject.toml b/pyproject.toml index 9f6dbe12a..a02457eef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,13 +3,19 @@ requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [tool.towncrier] +# For finding the __version__ package = "pip" package_dir = "src" +# For writing into the correct file filename = "NEWS.rst" +# For finding the news fragments directory = "news/" -title_format = "{version} ({project_date})" + +# For rendering properly for this project issue_format = "`#{issue} <https://github.com/pypa/pip/issues/{issue}>`_" template = "tools/news/template.rst" + +# Grouping of entries, within our changelog type = [ { name = "Process", directory = "process", showcontent = true }, { name = "Deprecations and Removals", directory = "removal", showcontent = true }, @@ -33,6 +39,7 @@ substitute = [ # pkg_resource's vendored packages are directly vendored in pip. { match='pkg_resources\.extern', replace="pip._vendor" }, { match='from \.extern', replace="from pip._vendor" }, + { match='''\('pygments\.lexers\.''', replace="('pip._vendor.pygments.lexers." }, ] drop = [ # contains unnecessary scripts @@ -44,19 +51,21 @@ drop = [ "setuptools", "pkg_resources/_vendor/", "pkg_resources/extern/", - # unneeded part for tenacity - "tenacity/tests", + # trim vendored pygments styles and lexers + "pygments/styles/[!_]*.py", + '^pygments/lexers/(?!python|__init__|_mapping).*\.py$', + # trim rich's markdown support + "rich/markdown.py", ] [tool.vendoring.typing-stubs] six = ["six.__init__", "six.moves.__init__", "six.moves.configparser"] -appdirs = [] +distro = [] [tool.vendoring.license.directories] setuptools = "pkg_resources" -msgpack-python = "msgpack" [tool.vendoring.license.fallback-urls] -pytoml = "https://github.com/avakar/pytoml/raw/master/LICENSE" -resolvelib = "https://github.com/sarugaku/resolvelib/raw/master/LICENSE" +CacheControl = "https://raw.githubusercontent.com/ionrock/cachecontrol/v0.12.6/LICENSE.txt" +distlib = "https://bitbucket.org/pypa/distlib/raw/master/LICENSE.txt" webencodings = "https://github.com/SimonSapin/python-webencodings/raw/master/LICENSE" |