From 7bb5061d62798420acec90399e3dd59f364881d6 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Wed, 10 Apr 2024 11:14:59 +0100 Subject: [PATCH] Allow direct dependencies --- pyproject.toml | 6 +++++- setup.cfg | 4 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 95df68b..f4620da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,10 @@ version = "2.6.4" description = "This is a package to provide some common utilities for Django projects at Democracy Club." readme = "README.md" authors = [{name = "Sym Roe"}, {name = "Virginia Dooley"}] + +[tool.hatch.metadata] +allow-direct-references = true + dependencies = [ "django>=3.2,<4.3", "black", @@ -22,7 +26,7 @@ dependencies = [ "pytest-flakes", "pytest-ruff", "pytidylib", - "dc-design-system @ https://github.com/DemocracyClub/design-system/archive/0.4.6.zip#sha1=3fedf363770c5fda9c9b883b97b5ecae44be2793", + "dc-design-system @ git+ssh://git@github.com/DemocracyClub/design-system#sha1=3fedf363770c5fda9c9b883b97b5ecae44be2793", "whitenoise", "pysass", "jsmin<3.1", diff --git a/setup.cfg b/setup.cfg index d2828d3..d9408b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,9 +18,7 @@ install_requires = pytest-django pytest pytidylib - https://github.com/DemocracyClub/design-system/archive/refs/tags/0.4.6.tar.gz - - +\ [flake8] exclude = build,.git,.tox,./tests/.env ignore = W504,W601