From 27bb7b9a08b026738b0939256215207f1c418f27 Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Mon, 11 Nov 2024 16:57:56 +0100 Subject: [PATCH] :heavy_plus_sign: [#100] Add optional django-setup-configuration dependency --- .readthedocs.yaml | 1 + pyproject.toml | 3 +++ tox.ini | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0bd1e4a..3a170f5 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,6 +17,7 @@ python: - docs - db - drf + - django-setup-configuration sphinx: configuration: docs/conf.py diff --git a/pyproject.toml b/pyproject.toml index 877a269..4b941a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,9 @@ drf = [ zds-client = [ "gemma-zds-client>=2.0.0", ] +setup-configuration = [ + "django-setup-configuration @ git+https://github.com/maykinmedia/django-setup-configuration@e5c57784d74644f4a5f5e1306e3afa75403e8fb3#egg=django-setup-configuration", +] # These are not the test requirements! They are extras to be installed when making use of `zgw_consumers.test` testutils = [ "Faker>=0.7.0", diff --git a/tox.ini b/tox.ini index 81bd276..3e799a3 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ extras = testutils tests coverage + setup-configuration deps = django42: Django~=4.2.0 commands = @@ -64,6 +65,7 @@ extras = db drf docs + setup-configuration commands= pytest check_sphinx.py -v \ --tb=auto \