-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
113 lines (98 loc) · 2.31 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
version = "0.7.3"
authors = [
{"name"= "Davide Setti"},
]
description = "Django Group-based roles"
name = "django-group-role"
requires-python = ">=3.10"
dependencies = [
"django>=3.2,<5.2",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
]
dynamic = ["readme"]
[project.optional-dependencies]
tests = [
"coverage[toml]",
"pytest",
"pytest-django",
"pytest-cov",
"django-guardian~=2.4.0",
]
[project.urls]
"Homepage" = "https://github.com/certego/django-group-role"
"Bug Tracker" = "https://github.com/certego/django-group-role/issues"
[tool.setuptools]
packages = ["django_group_role"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown; charset=UTF-8; variant=GFM"}
[tool.coverage.run]
omit = [
"*/migrations/*",
# do not check for templates
"*/templates/*",
# skip statics
"*/static/*",
"*/apps.py",
]
branch = true
source = [
"django_group_role",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.example_project.settings"
django_find_project = false
pythonpath = "."
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
py{310}-django32
py{310,311,312}-django{40,41,42,50,51,main}
[gh]
python =
3.12 = py312
3.11 = py311
3.10 = py310
[gh-actions:env]
DJANGO =
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42
5.0: dj50
5.0: dj51
main: djmain
[testenv]
package = editable
extras = tests
whitelist_externals = py.test
commands = py.test
deps=
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
"""