Skip to content

Commit

Permalink
maint: use pyproject.toml
Browse files Browse the repository at this point in the history
Modify dependency file from pyproject.toml
  • Loading branch information
JSS95 committed Sep 9, 2023
1 parent 350c69a commit 0bd44e8
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ keywords = ["Dataclass", "GUI"]
authors = [
{name = "Jisoo Song", email = "jeesoo9595@snu.ac.kr"}
]
dynamic = [
"version",
"dependencies",
"optional-dependencies",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -31,19 +26,35 @@ classifiers = [
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Widget Sets",
]
dependencies = [
]
dynamic = [
"version",
]

[project.urls]
repository = "https://github.com/JSS95/dawiq"

[project.optional-dependencies]
test = [
"black",
"cattrs",
"flake8",
"mypy",
"pytest",
"pytest-qt",
]
test-ci = [
"dawiq[test]",
"pytest-xvfb",
]
doc = [
"numpydoc",
"sphinx < 5.2",
"sphinx_code_tabs",
"sphinx_rtd_theme",
]
full = ["dawiq[test,doc]"]

[tool.setuptools.dynamic]
version = {attr = "dawiq.version.__version__"}
dependencies = {file = ["requirements/install.txt"]}

[tool.setuptools.dynamic.optional-dependencies]
test = {file = ["requirements/test.txt"]}
test-ci = {file = ["requirements/test.txt", "requirements/test-ci.txt"]}
doc = {file = ["requirements/doc.txt"]}
full = {file = [
"requirements/test.txt",
"requirements/doc.txt",
]}

0 comments on commit 0bd44e8

Please sign in to comment.