diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 2f1ad105..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include survey * diff --git a/pyproject.toml b/pyproject.toml index 1a48a791..ecddc105 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,9 @@ requires = ["setuptools>=67.5.1", "wheel"] build-backend = "setuptools.build_meta" +[tool.setuptools.packages.find] +include = ["survey*"] + [project] name = "django-survey-and-report" description = "A django survey app that can export results as CSV or PDF using your native language." @@ -36,10 +39,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 +69,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