Skip to content

Commit

Permalink
Remove requirements.txt and use pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 28, 2024
1 parent 0d00d53 commit b36283e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
16 changes: 11 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -57,9 +66,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

0 comments on commit b36283e

Please sign in to comment.