From ee356088aa8fbf398d8656c0f84c7ebb4ca4b2a2 Mon Sep 17 00:00:00 2001 From: David Slusser Date: Sat, 9 Dec 2023 14:57:11 -0800 Subject: [PATCH] adding setuptools to toml --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ba53086..8e7a610 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ description = "django project created from djangoaddicts django_project_template dynamic = ["version"] keywords = ["django"] license = {file = "LICENSE"} -name = "my_django_project" +name = "web_demo_python" readme = "README.md" requires-python = ">=3.8" @@ -47,6 +47,7 @@ dev = [ "typing_extensions", ] + [tool.bandit] exclude_dirs = ["venv", "django_project/tests"] @@ -102,3 +103,10 @@ filterwarnings = [ [tool.ruff] line-length = 120 exclude = ["django_project/manage.py", "django_project/tests", "django_project/*/migrations", "django_project/*/scripts", "django_project/*/local_test"] + + +[tool.setuptools.packages.find] +where = ["."] +include = ["django_project"] +exclude = [] +namespaces = false