2
0

pyproject.toml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [build-system]
  2. requires = ["setuptools>=61.2"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "dulwich"
  6. description = "Python Git Library"
  7. readme = "README.rst"
  8. authors = [{name = "Jelmer Vernooij", email = "jelmer@jelmer.uk"}]
  9. license = {text = "Apachev2 or later or GPLv2"}
  10. keywords = ["vcs", "git"]
  11. classifiers = [
  12. "Development Status :: 4 - Beta",
  13. "License :: OSI Approved :: Apache Software License",
  14. "Programming Language :: Python :: 3.7",
  15. "Programming Language :: Python :: 3.8",
  16. "Programming Language :: Python :: 3.9",
  17. "Programming Language :: Python :: 3.10",
  18. "Programming Language :: Python :: 3.11",
  19. "Programming Language :: Python :: Implementation :: CPython",
  20. "Programming Language :: Python :: Implementation :: PyPy",
  21. "Operating System :: POSIX",
  22. "Operating System :: Microsoft :: Windows",
  23. "Topic :: Software Development :: Version Control",
  24. ]
  25. requires-python = ">=3.7"
  26. dependencies = [
  27. "urllib3>=1.25",
  28. 'typing_extensions;python_version<="3.7"',
  29. ]
  30. dynamic = ["version"]
  31. [project.urls]
  32. Homepage = "https://www.dulwich.io/"
  33. Repository = "https://www.dulwich.io/code/"
  34. GitHub = "https://github.com/dulwich/dulwich"
  35. "Bug Tracker" = "https://github.com/dulwich/dulwich/issues"
  36. [project.optional-dependencies]
  37. fastimport = ["fastimport"]
  38. https = ["urllib3>=1.24.1"]
  39. pgp = ["gpg"]
  40. paramiko = ["paramiko"]
  41. [project.scripts]
  42. dulwich = "dulwich.cli:main"
  43. [tool.mypy]
  44. ignore_missing_imports = true
  45. [tool.setuptools]
  46. packages = [
  47. "dulwich",
  48. "dulwich.cloud",
  49. "dulwich.tests",
  50. "dulwich.tests.compat",
  51. "dulwich.contrib",
  52. ]
  53. include-package-data = true
  54. zip-safe = false
  55. script-files = [
  56. "bin/dul-receive-pack",
  57. "bin/dul-upload-pack",
  58. ]
  59. license-files = ["COPYING"]
  60. [tool.setuptools.dynamic]
  61. version = {attr = "dulwich.__version__"}
  62. [tool.ruff]
  63. select = [
  64. "ANN",
  65. "D",
  66. "E",
  67. "F",
  68. "I",
  69. "UP",
  70. ]
  71. ignore = [
  72. "ANN001",
  73. "ANN002",
  74. "ANN003",
  75. "ANN101", # missing-type-self
  76. "ANN102",
  77. "ANN201",
  78. "ANN202",
  79. "ANN204",
  80. "ANN205",
  81. "ANN206",
  82. "D100",
  83. "D101",
  84. "D102",
  85. "D103",
  86. "D104",
  87. "D105",
  88. "D107",
  89. "D204",
  90. "D205",
  91. "D417",
  92. "E501", # line too long
  93. "E741", # ambiguous variable name
  94. ]
  95. target-version = "py37"
  96. [tool.ruff.pydocstyle]
  97. convention = "google"