Skip to content

Commit 5ceea05

Browse files
authored
Split dependencies for each transport into extras (#221)
1 parent 08010b7 commit 5ceea05

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

pyproject.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ dependencies = [
1717
"fastapi[standard]",
1818
"numpy",
1919
"pydantic",
20-
"pvi~=0.11.0",
21-
"pytango",
22-
"softioc>=4.5.0",
23-
"strawberry-graphql",
24-
"p4p",
20+
"ruamel.yaml",
2521
"IPython",
2622
]
2723
dynamic = ["version"]
@@ -30,8 +26,18 @@ readme = "README.md"
3026
requires-python = ">=3.11"
3127

3228
[project.optional-dependencies]
29+
demo = ["tickit~=0.4.3"]
30+
epicsca = ["pvi~=0.11.0", "softioc>=4.5.0"]
31+
epicspva = ["p4p", "pvi~=0.11.0"]
32+
epics = ["fastcs[epicsca]", "fastcs[epicspca]"]
33+
tango = ["pytango"]
34+
graphql = ["strawberry-graphql", "uvicorn[standard]>=0.12.0"]
35+
rest = ["fastapi[standard]", "numpy", "uvicorn[standard]>=0.12.0"]
36+
all = ["fastcs[epics]", "fastcs[tango]", "fastcs[graphql]", "fastcs[rest]"]
3337
dev = [
3438
"copier",
39+
"fastcs[all]",
40+
"fastcs[demo]",
3541
"myst-parser",
3642
"pipdeptree",
3743
"pre-commit",
@@ -50,14 +56,10 @@ dev = [
5056
"sphinx-design",
5157
"tox-direct",
5258
"types-mock",
53-
"setuptools>=70.1", # https://github.com/DiamondLightSource/aioca/issues/71
59+
"setuptools>=70.1", # https://github.com/DiamondLightSource/aioca/issues/71
5460
"aioca",
5561
"p4p",
5662
"httpx",
57-
"tickit~=0.4.3",
58-
]
59-
demo = [
60-
"tickit~=0.4.3",
6163
]
6264

6365
[project.scripts]

0 commit comments

Comments
 (0)