Skip to content

Commit 95e66a0

Browse files
committed
move deps to pyproject.toml
1 parent f53c4ea commit 95e66a0

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

pyproject.toml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,30 @@ classifiers = [
2020
"Topic :: Utilities",
2121
"Typing :: Typed",
2222
]
23-
dynamic = [
24-
"version",
25-
"dependencies",
26-
"optional-dependencies",
23+
dynamic = ["version"]
24+
dependencies = [
25+
"aioconsole==0.8.1"
2726
]
2827

2928
[project.urls]
3029
Documentation = "https://flogin.readthedocs.io/en/latest/"
3130
"Issue tracker" = "https://github.com/cibere/flogin/issues"
3231

33-
[tool.setuptools.dynamic]
34-
dependencies = { file = "requirements.txt" }
35-
optional-dependencies.docs = { file = "requirements-docs.txt" }
36-
optional-dependencies.dev = { file = "requirements-dev.txt" }
37-
optional-dependencies.tests = { file = "requirements-tests.txt" }
32+
[project.optional-dependencies]
33+
docs = [
34+
"sphinx>=7.0.0,<8.0.0",
35+
"furo>=2023.9.10,<2024.0.0", # theme // https://pradyunsg.me/furo/customisation/announcement/
36+
"sphinx-autodoc-typehints>=1.25.0,<2.0.0", # https://github.com/tox-dev/sphinx-autodoc-typehints
37+
"sphinx-toolbox>=3.5,<4.0", # https://sphinx-toolbox.readthedocs.io/en/latest/extensions/index.html
38+
]
39+
dev = [
40+
"black==24.10.0",
41+
"isort==5.13.2",
42+
]
43+
tests = [
44+
"pytest==8.3.4",
45+
"pytest-asyncio==0.25.0",
46+
]
3847

3948
[tool.setuptools]
4049
packages = [

requirements-dev.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements-docs.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

requirements-tests.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)