Browse Source

use generic `project.scripts` instead of `tool.poetry.scripts`

tags/v0.3.9-rc1
haixuantao 1 year ago
parent
commit
4325d260dc
26 changed files with 33 additions and 36 deletions
  1. +5
    -5
      binaries/cli/src/template/python/__node-name__/pyproject.toml
  2. +1
    -1
      node-hub/dora-argotranslate/pyproject.toml
  3. +1
    -1
      node-hub/dora-distil-whisper/pyproject.toml
  4. +1
    -1
      node-hub/dora-echo/pyproject.toml
  5. +1
    -1
      node-hub/dora-internvl/pyproject.toml
  6. +1
    -1
      node-hub/dora-keyboard/pyproject.toml
  7. +1
    -1
      node-hub/dora-microphone/pyproject.toml
  8. +1
    -1
      node-hub/dora-openai-server/pyproject.toml
  9. +1
    -1
      node-hub/dora-opus/pyproject.toml
  10. +1
    -1
      node-hub/dora-outtetts/pyproject.toml
  11. +1
    -1
      node-hub/dora-parler/pyproject.toml
  12. +1
    -1
      node-hub/dora-piper/pyproject.toml
  13. +1
    -1
      node-hub/dora-pyaudio/pyproject.toml
  14. +1
    -1
      node-hub/dora-pyorbbecksdk/pyproject.toml
  15. +1
    -1
      node-hub/dora-pyrealsense/pyproject.toml
  16. +1
    -1
      node-hub/dora-qwenvl/pyproject.toml
  17. +1
    -1
      node-hub/dora-rdt-1b/pyproject.toml
  18. +1
    -1
      node-hub/dora-ugv/pyproject.toml
  19. +4
    -7
      node-hub/dora-vad/pyproject.toml
  20. +1
    -1
      node-hub/dora-yolo/pyproject.toml
  21. +1
    -1
      node-hub/llama-factory-recorder/pyproject.toml
  22. +1
    -1
      node-hub/opencv-plot/pyproject.toml
  23. +1
    -1
      node-hub/opencv-video-capture/pyproject.toml
  24. +1
    -1
      node-hub/pyarrow-assert/pyproject.toml
  25. +1
    -1
      node-hub/pyarrow-sender/pyproject.toml
  26. +1
    -1
      node-hub/terminal-input/pyproject.toml

+ 5
- 5
binaries/cli/src/template/python/__node-name__/pyproject.toml View File

@@ -1,12 +1,12 @@
[tool.poetry]
[project]
name = "__node-name__"
version = "0.0.0"
authors = ["author"]
authors = [{ name = "Your Name", email = "email@email.com" }]
description = "Node Name"
license = "MIT License"
homepage = "https://github.com/dora-rs/dora.git"
documentation = "https://github.com/dora-rs/dora/blob/main/node-hub/__node-name__/README.md"
readme = "README.md"

[tool.poetry]
packages = [{ include = "__node_name__" }]

[tool.poetry.dependencies]
@@ -19,7 +19,7 @@ python = "^3.7"
pytest = ">= 6.3.4"
ruff = ">= 0.9.1"

[tool.poetry.scripts]
[project.scripts]
__node-name__ = "__node_name__.main:main"

[build-system]


+ 1
- 1
node-hub/dora-argotranslate/pyproject.toml View File

@@ -18,7 +18,7 @@ numpy = "< 2.0.0"
python = "^3.7"
argostranslate = "^1.9.6"

[tool.poetry.scripts]
[project.scripts]
dora-argotranslate = "dora_argotranslate.main:main"

[build-system]


+ 1
- 1
node-hub/dora-distil-whisper/pyproject.toml View File

@@ -23,7 +23,7 @@ python = "^3.7"
modelscope = "^1.18.1"
lightning-whisper-mlx = { version = "^0.0.10", platform = "darwin" }

[tool.poetry.scripts]
[project.scripts]
dora-distil-whisper = "dora_distil_whisper.main:main"

[tool.poetry.dev-dependencies]


+ 1
- 1
node-hub/dora-echo/pyproject.toml View File

@@ -16,7 +16,7 @@ numpy = "< 2.0.0"
pyarrow = ">= 5.0.0"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
dora-echo = "dora_echo.main:main"

[build-system]


+ 1
- 1
node-hub/dora-internvl/pyproject.toml View File

@@ -25,7 +25,7 @@ einops-exts = "^0.0.4"
timm = "^0.9.12"
sentencepiece = "^0.1.99"

[tool.poetry.scripts]
[project.scripts]
dora-internvl = "dora_internvl.main:main"

[build-system]


+ 1
- 1
node-hub/dora-keyboard/pyproject.toml View File

@@ -17,7 +17,7 @@ pyarrow = ">= 5.0.0"
pynput = "^1.6.0"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
dora-keyboard = "dora_keyboard.main:main"

[build-system]


+ 1
- 1
node-hub/dora-microphone/pyproject.toml View File

@@ -17,7 +17,7 @@ pyarrow = ">= 5.0.0"
sounddevice = "^0.4.6"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
dora-microphone = "dora_microphone.main:main"

[build-system]


+ 1
- 1
node-hub/dora-openai-server/pyproject.toml View File

@@ -20,7 +20,7 @@ asyncio = "^3.4"
uvicorn = "^0.31"
pydantic = "^2.9"

[tool.poetry.scripts]
[project.scripts]
dora-openai-server = "dora_openai_server.main:main"

[build-system]


+ 1
- 1
node-hub/dora-opus/pyproject.toml View File

@@ -22,7 +22,7 @@ modelscope = "^1.18.1"
sentencepiece = "^0.1.99"
torch = "^2.2.0"

[tool.poetry.scripts]
[project.scripts]
dora-opus = "dora_opus.main:main"

[build-system]


+ 1
- 1
node-hub/dora-outtetts/pyproject.toml View File

@@ -22,7 +22,7 @@ llama-cpp-python = "^0.3.5"
pytest = ">= 6.3.4"
ruff = ">= 0.9.1"

[tool.poetry.scripts]
[project.scripts]
dora-outtetts = "dora_outtetts.main:main"

[build-system]


+ 1
- 1
node-hub/dora-parler/pyproject.toml View File

@@ -24,7 +24,7 @@ pyaudio = "^0.2.14"
modelscope = "^1.18.1"


[tool.poetry.scripts]
[project.scripts]
dora-parler = "dora_parler.main:main"

[build-system]


+ 1
- 1
node-hub/dora-piper/pyproject.toml View File

@@ -17,7 +17,7 @@ numpy = "< 2.0.0"
[tool.poetry.dev-dependencies]
pytest = "^8.3.4"

[tool.poetry.scripts]
[project.scripts]
dora-piper = "dora_piper.main:main"

[build-system]


+ 1
- 1
node-hub/dora-pyaudio/pyproject.toml View File

@@ -20,7 +20,7 @@ pytest = ">= 6.3.4"
ruff = ">= 0.9.1"


[tool.poetry.scripts]
[project.scripts]
dora-pyaudio = "dora_pyaudio.main:main"

[build-system]


+ 1
- 1
node-hub/dora-pyorbbecksdk/pyproject.toml View File

@@ -18,7 +18,7 @@ numpy = "< 2.0.0"
opencv-python = ">= 4.1.1"


[tool.poetry.scripts]
[project.scripts]
dora-pyorbbecksdk = "dora_pyorbbecksdk.main:main"

[build-system]


+ 1
- 1
node-hub/dora-pyrealsense/pyproject.toml View File

@@ -20,7 +20,7 @@ pyrealsense2 = [
pyrealsense2-macosx = { version = "2.54.2", platform = "darwin" }


[tool.poetry.scripts]
[project.scripts]
dora-pyrealsense = "dora_pyrealsense.main:main"

[build-system]


+ 1
- 1
node-hub/dora-qwenvl/pyproject.toml View File

@@ -26,7 +26,7 @@ peft = "0.13.2"
# flash_attn = "^2.6.1" # Install using: pip install -U flash-attn --no-build-isolation


[tool.poetry.scripts]
[project.scripts]
dora-qwenvl = "dora_qwenvl.main:main"

[build-system]


+ 1
- 1
node-hub/dora-rdt-1b/pyproject.toml View File

@@ -38,7 +38,7 @@ ruff = ">= 0.9.1"
extend-exclude = 'dora_rdt_1b/RoboticsDiffusionTransformer'


[tool.poetry.scripts]
[project.scripts]
dora-rdt-1b = "dora_rdt_1b.main:main"

[build-system]


+ 1
- 1
node-hub/dora-ugv/pyproject.toml View File

@@ -13,7 +13,7 @@ dora-rs = "^0.3.6"
python = "^3.7"


[tool.poetry.scripts]
[project.scripts]
dora-ugv = "dora_ugv.main:main"

[build-system]


+ 4
- 7
node-hub/dora-vad/pyproject.toml View File

@@ -1,14 +1,11 @@
[tool.poetry]
[project]
name = "dora-vad"
version = "0.3.8"
description = "Dora Node for Text translating using Argostranslate"
readme = "README.md"
authors = [
"Haixuan Xavier Tao <tao.xavier@outlook.com>",
"Enzo Le Van <dev@enzo-le-van.fr>",
"Félix Huang <felix.huang.net@gmail.com>",
]
authors = [{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" }]

[tool.poetry]
packages = [{ include = "dora_vad" }]

[tool.poetry.dependencies]
@@ -18,7 +15,7 @@ python = "^3.7"
silero-vad = "^5.1"


[tool.poetry.scripts]
[project.scripts]
dora-vad = "dora_vad.main:main"

[build-system]


+ 1
- 1
node-hub/dora-yolo/pyproject.toml View File

@@ -17,7 +17,7 @@ numpy = "< 2.0.0"
ultralytics = "^8.3.24"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
dora-yolo = "dora_yolo.main:main"

[build-system]


+ 1
- 1
node-hub/llama-factory-recorder/pyproject.toml View File

@@ -17,7 +17,7 @@ dora-rs = "^0.3.6"
pillow = "^10.4.0"
opencv-python = ">= 4.1.1"

[tool.poetry.scripts]
[project.scripts]
llama-factory-recorder = "llama_factory_recorder.main:main"

[build-system]


+ 1
- 1
node-hub/opencv-plot/pyproject.toml View File

@@ -17,7 +17,7 @@ numpy = "< 2.0.0"
opencv-python = ">= 4.1.1"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
opencv-plot = "opencv_plot.main:main"

[build-system]


+ 1
- 1
node-hub/opencv-video-capture/pyproject.toml View File

@@ -17,7 +17,7 @@ numpy = "< 2.0.0"
opencv-python = ">= 4.1.1"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
opencv-video-capture = "opencv_video_capture.main:main"

[build-system]


+ 1
- 1
node-hub/pyarrow-assert/pyproject.toml View File

@@ -17,7 +17,7 @@ numpy = "< 2.0.0"
pyarrow = ">= 5.0.0"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
pyarrow-assert = "pyarrow_assert.main:main"

[build-system]


+ 1
- 1
node-hub/pyarrow-sender/pyproject.toml View File

@@ -18,7 +18,7 @@ numpy = "< 2.0.0"
pyarrow = ">= 5.0.0"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
pyarrow-sender = "pyarrow_sender.main:main"

[build-system]


+ 1
- 1
node-hub/terminal-input/pyproject.toml View File

@@ -18,7 +18,7 @@ numpy = "< 2.0.0"
pyarrow = ">= 5.0.0"
python = "^3.7"

[tool.poetry.scripts]
[project.scripts]
terminal-input = "terminal_input.main:main"

[build-system]


Loading…
Cancel
Save