CarolinePascal
commited on
chore(pyproject): adding optional dependencies in pyproject.toml
Browse files- pyproject.toml +20 -10
pyproject.toml
CHANGED
|
@@ -10,32 +10,42 @@ description = ""
|
|
| 10 |
readme = "README.md"
|
| 11 |
requires-python = ">=3.10"
|
| 12 |
dependencies = [
|
|
|
|
| 13 |
"aiortc>=1.13.0",
|
| 14 |
"fastrtc@git+ssh://git@github.com/gradio-app/fastrtc.git@main",
|
| 15 |
"gradio>=5.49.0",
|
| 16 |
"huggingface_hub>=0.34.4",
|
| 17 |
-
"mediapipe>=0.10.14",
|
| 18 |
-
"num2words",
|
| 19 |
-
"onnxruntime",
|
| 20 |
"opencv-python>=4.12.0.88",
|
| 21 |
-
"openai>=2.1",
|
| 22 |
"PyGObject>=3.42.2,<=3.46.0",
|
|
|
|
|
|
|
| 23 |
"python-dotenv",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"reachy_mini_dances_library@git+ssh://git@github.com/pollen-robotics/reachy_mini_dances_library@main",
|
| 25 |
"reachy_mini_toolbox@git+ssh://git@github.com/pollen-robotics/reachy_mini_toolbox@main",
|
| 26 |
"reachy_mini@git+ssh://git@github.com/pollen-robotics/reachy_mini@develop",
|
| 27 |
-
"supervision",
|
| 28 |
-
"torch",
|
| 29 |
-
"transformers",
|
| 30 |
-
"ultralytics",
|
| 31 |
]
|
| 32 |
|
| 33 |
-
[project.
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
[dependency-groups]
|
| 37 |
dev = ["pytest", "ruff==0.12.0"]
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
[tool.setuptools]
|
| 40 |
package-dir = { "" = "src" }
|
| 41 |
include-package-data = true
|
|
|
|
| 10 |
readme = "README.md"
|
| 11 |
requires-python = ">=3.10"
|
| 12 |
dependencies = [
|
| 13 |
+
#Media
|
| 14 |
"aiortc>=1.13.0",
|
| 15 |
"fastrtc@git+ssh://git@github.com/gradio-app/fastrtc.git@main",
|
| 16 |
"gradio>=5.49.0",
|
| 17 |
"huggingface_hub>=0.34.4",
|
|
|
|
|
|
|
|
|
|
| 18 |
"opencv-python>=4.12.0.88",
|
|
|
|
| 19 |
"PyGObject>=3.42.2,<=3.46.0",
|
| 20 |
+
|
| 21 |
+
#Environment variables
|
| 22 |
"python-dotenv",
|
| 23 |
+
|
| 24 |
+
#OpenAI
|
| 25 |
+
"openai>=2.1",
|
| 26 |
+
|
| 27 |
+
#Reachy mini
|
| 28 |
"reachy_mini_dances_library@git+ssh://git@github.com/pollen-robotics/reachy_mini_dances_library@main",
|
| 29 |
"reachy_mini_toolbox@git+ssh://git@github.com/pollen-robotics/reachy_mini_toolbox@main",
|
| 30 |
"reachy_mini@git+ssh://git@github.com/pollen-robotics/reachy_mini@develop",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
]
|
| 32 |
|
| 33 |
+
[project.optional-dependencies]
|
| 34 |
+
local_vision = ["torch", "transformers"]
|
| 35 |
+
yolo_vision = ["ultralytics", "supervision"]
|
| 36 |
+
mediapipe_vision = ["mediapipe>=0.10.14"]
|
| 37 |
+
all_vision = [
|
| 38 |
+
"reachy_mini_conversation_demo[local_vision]",
|
| 39 |
+
"reachy_mini_conversation_demo[yolo_vision]",
|
| 40 |
+
"reachy_mini_conversation_demo[mediapipe_vision]",
|
| 41 |
+
]
|
| 42 |
|
| 43 |
[dependency-groups]
|
| 44 |
dev = ["pytest", "ruff==0.12.0"]
|
| 45 |
|
| 46 |
+
[project.scripts]
|
| 47 |
+
reachy-mini-conversation-demo = "reachy_mini_conversation_demo.main:main"
|
| 48 |
+
|
| 49 |
[tool.setuptools]
|
| 50 |
package-dir = { "" = "src" }
|
| 51 |
include-package-data = true
|