Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to pyproject.toml #184

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

19 changes: 14 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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 = [
Expand All @@ -57,9 +69,6 @@ sankey = [
"pySankeyBeta~=1.3.0",
]

[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}

[tool.ruff]

line-length = 120
Expand Down
7 changes: 0 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Loading