Debian Codegraph @

pyproject.toml

raw
1 [project]
2 name = "django-cte"
3 description = "Common Table Expressions (CTE) for Django"
4 authors = [{name = "Daniel Miller", email = "[email protected]"}]
5 license = "BSD-3-Clause"
6 license-files = ["LICENSE"]
7 readme = {file = "README.md", content-type = "text/markdown"}
8 dynamic = ["version"]
9 requires-python = ">= 3.10"
10 # Python and Django versions are read from this file by GitHub Actions.
11 # Precise formatting is important.
12 classifiers = [
13 "Development Status :: 5 - Production/Stable",
14 'Environment :: Web Environment',
15 'Intended Audience :: Developers',
16 'Operating System :: OS Independent',
17 'Programming Language :: Python',
18 'Programming Language :: Python :: 3',
19 'Programming Language :: Python :: 3.10',
20 'Programming Language :: Python :: 3.11',
21 'Programming Language :: Python :: 3.12',
22 'Programming Language :: Python :: 3.13',
23 'Programming Language :: Python :: 3.14',
24 'Framework :: Django',
25 'Framework :: Django :: 4',
26 'Framework :: Django :: 4.2',
27 'Framework :: Django :: 5',
28 'Framework :: Django :: 5.1',
29 'Framework :: Django :: 5.2',
30 'Framework :: Django :: 6.0',
31 'Framework :: Django :: 6.1',
32 'Topic :: Software Development :: Libraries :: Python Modules',
33 ]
34 dependencies = ["django"]
35
36 [dependency-groups]
37 dev = [
38 "psycopg2-binary",
39 "pytest-unmagic",
40 "ruff",
41 ]
42
43 [project.urls]
44 Home = "https://github.com/dimagi/django-cte"
45
46 [build-system]
47 requires = ["flit_core >=3.2,<4"]
48 build-backend = "flit_core.buildapi"
49
50 [tool.flit.module]
51 name = "django_cte"
52
53 [tool.distutils.bdist_wheel]
54 universal = true
55
56 [tool.tox]
57 requires = ["tox>=4.43"]
58 env_list = [
59 {product = [{prefix = "py3", start = 10, stop = 12}, ["django42"]]},
60 {product = [{prefix = "py3", start = 10, stop = 12}, ["django50"]]},
61 {product = [{prefix = "py3", start = 10, stop = 13}, ["django51"]]},
62 {product = [{prefix = "py3", start = 10, stop = 14}, ["django52"]]},
63 {product = [{prefix = "py3", start = 12, stop = 14}, ["django60", "django61", "djangomain"]]},
64 ]
65
66 [tool.tox.env_run_base]
67 default_base_python = "python3"
68 commands = [["pytest", {replace = "posargs", default = [], extend = true}]]
69 dependency_groups = ["dev"]
70 deps = [
71 {replace = "if", condition = "factor.django42", then = ["Django>=4.2,<5.0"], extend = true},
72 {replace = "if", condition = "factor.django50", then = ["Django>=5.0,<5.1"], extend = true},
73 {replace = "if", condition = "factor.django51", then = ["Django>=5.1,<5.2"], extend = true},
74 {replace = "if", condition = "factor.django52", then = ["Django>=5.2,<6.0"], extend = true},
75 {replace = "if", condition = "factor.django60", then = ["Django>=6.0,<6.1"], extend = true},
76 {replace = "if", condition = "factor.django61", then = ["Django>=6.1,<6.2"], extend = true},
77 {replace = "if", condition = "factor.djangomain", then = ["https://github.com/django/django/archive/main.tar.gz"], extend = true},
78 ]