|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=61.2"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "django_csp" |
| 7 | +version = "3.8rc" |
| 8 | +description = "Django Content Security Policy support." |
| 9 | +readme = "README.rst" |
| 10 | +authors = [{ name = "James Socol", email = "[email protected]"}] |
| 11 | +maintainers = [{ name = "Mozilla MEAO team", email = "[email protected]"}] |
| 12 | +license = {text = "BSD"} |
| 13 | +classifiers = [ |
| 14 | + "Development Status :: 5 - Production/Stable", |
| 15 | + "Environment :: Web Environment", |
| 16 | + "Environment :: Web Environment :: Mozilla", |
| 17 | + "Programming Language :: Python", |
| 18 | + "License :: OSI Approved :: BSD License", |
| 19 | + "Operating System :: OS Independent", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 22 | + "Programming Language :: Python", |
| 23 | + "Programming Language :: Python :: 3", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Programming Language :: Python :: 3.10", |
| 27 | + "Programming Language :: Python :: 3.11", |
| 28 | + "Programming Language :: Python :: 3.12", |
| 29 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 30 | + "Programming Language :: Python :: Implementation :: CPython", |
| 31 | + "Framework :: Django :: 3.2", |
| 32 | + "Framework :: Django :: 4.2", |
| 33 | + "Framework :: Django :: 5.0", |
| 34 | +] |
| 35 | +dependencies = ["Django>=3.2"] |
| 36 | + |
| 37 | +[project.urls] |
| 38 | +Homepage = "http://github.com/mozilla/django-csp" |
| 39 | +Documentation = "http://django-csp.readthedocs.org/" |
| 40 | +Changelog = "https://github.com/mozilla/django-csp/blob/main/CHANGES" |
| 41 | +"Bug Tracker" = "https://github.com/mozilla/django-csp/issues" |
| 42 | +"Source Code" = "https://github.com/mozilla/django-csp" |
| 43 | + |
| 44 | +[project.optional-dependencies] |
| 45 | +tests = [ |
| 46 | + "pytest", |
| 47 | + "pytest-cov", |
| 48 | + "pytest-django", |
| 49 | + "pytest-ruff", |
| 50 | + "jinja2>=2.9.6", |
| 51 | +] |
| 52 | +jinja2 = ["jinja2>=2.9.6"] |
| 53 | + |
| 54 | +[tool.setuptools] |
| 55 | +zip-safe = false |
| 56 | +include-package-data = true |
| 57 | + |
| 58 | +[tool.setuptools.packages] |
| 59 | +find = {namespaces = false} |
| 60 | + |
| 61 | +[tool.pytest.ini_options] |
| 62 | +addopts = "-vs --tb=short --ruff --ruff-format" |
| 63 | +DJANGO_SETTINGS_MODULE = "csp.tests.settings" |
0 commit comments