Spaces:
Running
Running
fix: use setuptools.build_meta, add entry-point and reachy-mini-app keyword
Browse files- pyproject.toml +20 -3
pyproject.toml
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "talkie-gentleman"
|
| 3 |
version = "0.1.0"
|
| 4 |
description = "A Victorian/Edwardian speaking robot app for Reachy Mini using Talkie-1930"
|
|
|
|
| 5 |
requires-python = ">=3.9"
|
| 6 |
dependencies = [
|
|
|
|
| 7 |
"huggingface_hub>=0.20.0",
|
| 8 |
"openai-whisper>=20231117",
|
| 9 |
"numpy",
|
| 10 |
]
|
|
|
|
| 11 |
|
| 12 |
-
[
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=61.0"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
|
| 6 |
[project]
|
| 7 |
name = "talkie-gentleman"
|
| 8 |
version = "0.1.0"
|
| 9 |
description = "A Victorian/Edwardian speaking robot app for Reachy Mini using Talkie-1930"
|
| 10 |
+
readme = "README.md"
|
| 11 |
requires-python = ">=3.9"
|
| 12 |
dependencies = [
|
| 13 |
+
"reachy-mini",
|
| 14 |
"huggingface_hub>=0.20.0",
|
| 15 |
"openai-whisper>=20231117",
|
| 16 |
"numpy",
|
| 17 |
]
|
| 18 |
+
keywords = ["reachy-mini-app"]
|
| 19 |
|
| 20 |
+
[project.entry-points."reachy_mini_apps"]
|
| 21 |
+
talkie_gentleman = "talkie_gentleman.main:TalkieGentleman"
|
| 22 |
+
|
| 23 |
+
[tool.setuptools]
|
| 24 |
+
package-dir = { "" = "." }
|
| 25 |
+
include-package-data = true
|
| 26 |
+
|
| 27 |
+
[tool.setuptools.packages.find]
|
| 28 |
+
where = ["."]
|
| 29 |
+
|
| 30 |
+
[tool.setuptools.package-data]
|
| 31 |
+
talkie_gentleman = ["**/*"]
|