The Python package installer https://pip.pypa.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

62 lines
2.1 KiB

  1. [build-system]
  2. requires = ["setuptools", "wheel"]
  3. build-backend = "setuptools.build_meta"
  4. [tool.towncrier]
  5. package = "pip"
  6. package_dir = "src"
  7. filename = "NEWS.rst"
  8. directory = "news/"
  9. title_format = "{version} ({project_date})"
  10. issue_format = "`#{issue} <https://github.com/pypa/pip/issues/{issue}>`_"
  11. template = "tools/automation/news/template.rst"
  12. type = [
  13. { name = "Process", directory = "process", showcontent = true },
  14. { name = "Deprecations and Removals", directory = "removal", showcontent = true },
  15. { name = "Features", directory = "feature", showcontent = true },
  16. { name = "Bug Fixes", directory = "bugfix", showcontent = true },
  17. { name = "Vendored Libraries", directory = "vendor", showcontent = true },
  18. { name = "Improved Documentation", directory = "doc", showcontent = true },
  19. { name = "Trivial Changes", directory = "trivial", showcontent = false },
  20. ]
  21. [tool.vendoring]
  22. destination = "src/pip/_vendor/"
  23. requirements = "src/pip/_vendor/vendor.txt"
  24. namespace = "pip._vendor"
  25. protected-files = ["__init__.py", "README.rst", "vendor.txt"]
  26. patches-dir = "tools/automation/vendoring/patches"
  27. [tool.vendoring.transformations]
  28. substitute = [
  29. # pkg_resource's vendored packages are directly vendored in pip.
  30. { match='pkg_resources\.extern', replace="pip._vendor" },
  31. { match='from \.extern', replace="from pip._vendor" },
  32. ]
  33. drop = [
  34. # contains unnecessary scripts
  35. "bin/",
  36. # interpreter and OS specific msgpack libs
  37. "msgpack/*.so",
  38. # unneeded parts of setuptools
  39. "easy_install.py",
  40. "setuptools",
  41. "pkg_resources/_vendor/",
  42. "pkg_resources/extern/",
  43. ]
  44. [tool.vendoring.typing-stubs]
  45. six = ["six.__init__", "six.moves.__init__", "six.moves.configparser"]
  46. appdirs = []
  47. contextlib2 = []
  48. [tool.vendoring.license.directories]
  49. setuptools = "pkg_resources"
  50. msgpack-python = "msgpack"
  51. [tool.vendoring.license.fallback-urls]
  52. pytoml = "https://github.com/avakar/pytoml/raw/master/LICENSE"
  53. resolvelib = "https://github.com/sarugaku/resolvelib/raw/master/LICENSE"
  54. webencodings = "https://github.com/SimonSapin/python-webencodings/raw/master/LICENSE"