pyproject.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [build-system]
  2. requires = ["setuptools>=61.0.0,<69.3.0"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "Django"
  6. dynamic = ["version"]
  7. requires-python = ">= 3.12"
  8. dependencies = [
  9. "asgiref>=3.8.1",
  10. "sqlparse>=0.5.0",
  11. "tzdata; sys_platform == 'win32'",
  12. ]
  13. authors = [
  14. {name = "Django Software Foundation", email = "foundation@djangoproject.com"},
  15. ]
  16. description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design."
  17. readme = "README.rst"
  18. license = {text = "BSD-3-Clause"}
  19. classifiers = [
  20. "Development Status :: 2 - Pre-Alpha",
  21. "Environment :: Web Environment",
  22. "Framework :: Django",
  23. "Intended Audience :: Developers",
  24. "License :: OSI Approved :: BSD License",
  25. "Operating System :: OS Independent",
  26. "Programming Language :: Python",
  27. "Programming Language :: Python :: 3",
  28. "Programming Language :: Python :: 3 :: Only",
  29. "Programming Language :: Python :: 3.12",
  30. "Programming Language :: Python :: 3.13",
  31. "Topic :: Internet :: WWW/HTTP",
  32. "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
  33. "Topic :: Internet :: WWW/HTTP :: WSGI",
  34. "Topic :: Software Development :: Libraries :: Application Frameworks",
  35. "Topic :: Software Development :: Libraries :: Python Modules",
  36. ]
  37. [project.optional-dependencies]
  38. argon2 = ["argon2-cffi>=23.1.0"]
  39. bcrypt = ["bcrypt>=4.1.1"]
  40. [project.scripts]
  41. django-admin = "django.core.management:execute_from_command_line"
  42. [project.urls]
  43. Homepage = "https://www.djangoproject.com/"
  44. Documentation = "https://docs.djangoproject.com/"
  45. "Release notes" = "https://docs.djangoproject.com/en/stable/releases/"
  46. Funding = "https://www.djangoproject.com/fundraising/"
  47. Source = "https://github.com/django/django"
  48. Tracker = "https://code.djangoproject.com/"
  49. [tool.black]
  50. target-version = ["py312"]
  51. force-exclude = "tests/test_runner_apps/tagged/tests_syntax_error.py"
  52. [tool.isort]
  53. profile = "black"
  54. default_section = "THIRDPARTY"
  55. known_first_party = "django"
  56. [tool.setuptools.dynamic]
  57. version = {attr = "django.__version__"}
  58. [tool.setuptools.packages.find]
  59. include = ["django*"]