pyproject.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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.10"
  8. dependencies = [
  9. "asgiref>=3.8.1",
  10. "sqlparse>=0.3.1",
  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.10",
  30. "Programming Language :: Python :: 3.11",
  31. "Programming Language :: Python :: 3.12",
  32. "Topic :: Internet :: WWW/HTTP",
  33. "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
  34. "Topic :: Internet :: WWW/HTTP :: WSGI",
  35. "Topic :: Software Development :: Libraries :: Application Frameworks",
  36. "Topic :: Software Development :: Libraries :: Python Modules",
  37. ]
  38. [project.optional-dependencies]
  39. argon2 = ["argon2-cffi>=19.1.0"]
  40. bcrypt = ["bcrypt"]
  41. [project.scripts]
  42. django-admin = "django.core.management:execute_from_command_line"
  43. [project.urls]
  44. Homepage = "https://www.djangoproject.com/"
  45. Documentation = "https://docs.djangoproject.com/"
  46. "Release notes" = "https://docs.djangoproject.com/en/stable/releases/"
  47. Funding = "https://www.djangoproject.com/fundraising/"
  48. Source = "https://github.com/django/django"
  49. Tracker = "https://code.djangoproject.com/"
  50. [tool.black]
  51. target-version = ["py310"]
  52. force-exclude = "tests/test_runner_apps/tagged/tests_syntax_error.py"
  53. [tool.isort]
  54. profile = "black"
  55. default_section = "THIRDPARTY"
  56. known_first_party = "django"
  57. [tool.setuptools.dynamic]
  58. version = {attr = "django.__version__"}
  59. [tool.setuptools.packages.find]
  60. include = ["django*"]