From b36283e856085785754128e4a49bc6f0fe859c27 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 19 Dec 2023 23:02:29 +0100 Subject: [PATCH] Remove requirements.txt and use pyproject.toml --- pyproject.toml | 16 +++++++++++----- requirements.txt | 7 ------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f6f8ba7c..5d7f1420 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,10 +36,19 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Framework :: Django" ] -dynamic = ["dependencies"] +dependencies = [ + "django>=2.2,<5", + "django-bootstrap-form>=3.4", + "django-tastypie>=0.14.2", + "django-registration>=3.0", + "pytz>=2018.9", + "ordereddict>=1.1", + "pyyaml>=4.2b1", +] [project.urls] -repository = "https://github.com/Pierre-Sassoulas/django-survey" +"Source Code" = "https://github.com/Pierre-Sassoulas/django-survey" +"Bug Tracker" = "https://github.com/Pierre-Sassoulas/django-survey/issues" [project.optional-dependencies] dev = [ @@ -57,9 +66,6 @@ sankey = [ "pySankeyBeta~=1.3.0", ] -[tool.setuptools.dynamic] -dependencies = {file = "requirements.txt"} - [tool.ruff] line-length = 120 diff --git a/requirements.txt b/requirements.txt index 847a927e..e69de29b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +0,0 @@ -django>=2.2,<5 -django-bootstrap-form>=3.4 -django-tastypie>=0.14.2 -django-registration>=3.0 -pytz>=2018.9 -ordereddict>=1.1 -pyyaml>=4.2b1