-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (108 loc) · 3.42 KB
/
pyproject.toml
File metadata and controls
128 lines (108 loc) · 3.42 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-generic-links"
dynamic = ["version"]
description = "Simple and generic application for Django projects to attach and handle links for any object"
readme = "README.md"
license = "BSD-3-clause"
authors = [
{ name = "Matias Agustin Mendez", email = "matagus@gmail.com" },
]
keywords = [
"generic links", "django", "links", "urls", "generic app",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"Django>=4.2",
]
[project.optional-dependencies]
docs = [
"mkdocs",
"mkdocs-material",
"pygments",
"pymdown-extensions",
]
[project.urls]
Homepage = "https://matagus.github.io/django-generic-links/"
Issues = "https://github.com/matagus/django-generic-links/issues"
Repository = "https://github.com/matagus/django-generic-links"
Changelog = "https://github.com/matagus/django-generic-links/releases"
Pypi = "https://pypi.org/project/django-generic-links"
[tool.hatch.version]
path = "generic_links/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"generic_links/",
]
[tool.hatch.build.targets.wheel]
include = [
"generic_links/",
]
[tool.hatch.envs.default]
dependencies = [
"Django>=4.2", "ipython", "ipdb", "mypy", "typing-extensions"
]
[tool.hatch.envs.docs]
dependencies = ["mkdocs", "mkdocs-material", "pygments", "pymdown-extensions"]
[tool.hatch.envs.docs.scripts]
new = "mkdocs new ."
build = "mkdocs build {args}"
serve = "mkdocs serve {args}"
[tool.hatch.envs.project]
dependencies = [
"Django>=4.2", "ipython", "ipdb", "mypy", "typing-extensions", "django-extensions", "Werkzeug"
]
[tool.hatch.envs.project.scripts]
server = "python example_project/manage.py runserver_plus"
shell = "python example_project/manage.py shell_plus"
migrate = "python example_project/manage.py migrate"
makemigrations = "python example_project/manage.py makemigrations"
# Test environment
[[tool.hatch.envs.test.matrix]]
django = ["4.2"]
python = ["3.12"]
[[tool.hatch.envs.test.matrix]]
django = ["5.0"]
python = ["3.12", "3.13"]
[[tool.hatch.envs.test.matrix]]
django = ["5.1"]
python = ["3.12", "3.13", "3.14"]
[[tool.hatch.envs.test.matrix]]
django = ["5.2"]
python = ["3.12", "3.13", "3.14"]
[[tool.hatch.envs.test.matrix]]
django = ["6.0"]
python = ["3.12", "3.13", "3.14"]
[tool.hatch.envs.test]
dependencies = ["coverage[toml]", "django~={matrix:django}.0"]
[tool.hatch.envs.test.scripts]
test = "python -m django test --settings tests.settings"
test-cov = "coverage run -m django test --settings tests.settings"
cov-report = ["coverage json", "coverage report"]
cov = ["test-cov", "cov-report"]
[tool.ruff]
line-length = 120
[tool.black]
line-length = 120