feat: Move pytest, coverage and model bakery to develop dependencies

This commit is contained in:
moanos [he/him] 2025-01-18 18:30:02 +01:00
parent 206cd282e6
commit 71ef17dc97

View File

@ -8,13 +8,13 @@ build-backend = "setuptools.build_meta"
name = "notfellchen" name = "notfellchen"
description = "A tool to help." description = "A tool to help."
authors = [ authors = [
{name = "moanos", email = "julian-samuel@gebuehr.net"}, { name = "moanos", email = "julian-samuel@gebuehr.net" },
] ]
maintainers = [ maintainers = [
{name = "moanos", email = "julian-samuel@gebuehr.net"}, { name = "moanos", email = "julian-samuel@gebuehr.net" },
] ]
keywords = ["animal", "adoption", "django", "rescue", ] keywords = ["animal", "adoption", "django", "rescue", ]
license = {text = "AGPL-3.0-or-later"} license = { text = "AGPL-3.0-or-later" }
classifiers = [ classifiers = [
"Environment :: Web", "Environment :: Web",
"License :: OSI Approved :: GNU Affero General Public License v3", "License :: OSI Approved :: GNU Affero General Public License v3",
@ -24,14 +24,12 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"Django", "Django",
"coverage",
"codecov", "codecov",
"sphinx", "sphinx",
"sphinx-rtd-theme", "sphinx-rtd-theme",
"gunicorn", "gunicorn",
"fontawesomefree", "fontawesomefree",
"whitenoise", "whitenoise",
"model_bakery",
"markdown", "markdown",
"Pillow", "Pillow",
"django-registration", "django-registration",
@ -47,7 +45,9 @@ dynamic = ["version", "readme"]
[project.optional-dependencies] [project.optional-dependencies]
develop = [ develop = [
"pytest", "pytest",
"coverage",
"model_bakery",
] ]
[project.urls] [project.urls]
@ -62,6 +62,6 @@ nf = 'notfellchen.main:main'
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "notfellchen.__version__"} version = { attr = "notfellchen.__version__" }
readme = {file = "README.md"} readme = { file = "README.md" }