diff --git a/binaries/cli/src/template/python/__node-name__/pyproject.toml b/binaries/cli/src/template/python/__node-name__/pyproject.toml index 6e01f1cf..de2998ae 100644 --- a/binaries/cli/src/template/python/__node-name__/pyproject.toml +++ b/binaries/cli/src/template/python/__node-name__/pyproject.toml @@ -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] diff --git a/node-hub/dora-argotranslate/pyproject.toml b/node-hub/dora-argotranslate/pyproject.toml index 1deaec1c..5bb86566 100644 --- a/node-hub/dora-argotranslate/pyproject.toml +++ b/node-hub/dora-argotranslate/pyproject.toml @@ -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] diff --git a/node-hub/dora-distil-whisper/pyproject.toml b/node-hub/dora-distil-whisper/pyproject.toml index 6544e8a1..a1b43d24 100644 --- a/node-hub/dora-distil-whisper/pyproject.toml +++ b/node-hub/dora-distil-whisper/pyproject.toml @@ -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] diff --git a/node-hub/dora-echo/pyproject.toml b/node-hub/dora-echo/pyproject.toml index e72d3ed1..2025167b 100644 --- a/node-hub/dora-echo/pyproject.toml +++ b/node-hub/dora-echo/pyproject.toml @@ -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] diff --git a/node-hub/dora-internvl/pyproject.toml b/node-hub/dora-internvl/pyproject.toml index 19fadd97..878929b8 100644 --- a/node-hub/dora-internvl/pyproject.toml +++ b/node-hub/dora-internvl/pyproject.toml @@ -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] diff --git a/node-hub/dora-keyboard/pyproject.toml b/node-hub/dora-keyboard/pyproject.toml index a3a0bace..4aa4ff01 100644 --- a/node-hub/dora-keyboard/pyproject.toml +++ b/node-hub/dora-keyboard/pyproject.toml @@ -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] diff --git a/node-hub/dora-microphone/pyproject.toml b/node-hub/dora-microphone/pyproject.toml index fc4e5376..732bfa9a 100644 --- a/node-hub/dora-microphone/pyproject.toml +++ b/node-hub/dora-microphone/pyproject.toml @@ -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] diff --git a/node-hub/dora-openai-server/pyproject.toml b/node-hub/dora-openai-server/pyproject.toml index c031037a..96903b26 100644 --- a/node-hub/dora-openai-server/pyproject.toml +++ b/node-hub/dora-openai-server/pyproject.toml @@ -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] diff --git a/node-hub/dora-opus/pyproject.toml b/node-hub/dora-opus/pyproject.toml index e0284719..35647b6d 100644 --- a/node-hub/dora-opus/pyproject.toml +++ b/node-hub/dora-opus/pyproject.toml @@ -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] diff --git a/node-hub/dora-outtetts/pyproject.toml b/node-hub/dora-outtetts/pyproject.toml index 969d7076..6c1b3467 100644 --- a/node-hub/dora-outtetts/pyproject.toml +++ b/node-hub/dora-outtetts/pyproject.toml @@ -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] diff --git a/node-hub/dora-parler/pyproject.toml b/node-hub/dora-parler/pyproject.toml index 63309640..54b81f2c 100644 --- a/node-hub/dora-parler/pyproject.toml +++ b/node-hub/dora-parler/pyproject.toml @@ -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] diff --git a/node-hub/dora-piper/pyproject.toml b/node-hub/dora-piper/pyproject.toml index cddc3221..fed751be 100644 --- a/node-hub/dora-piper/pyproject.toml +++ b/node-hub/dora-piper/pyproject.toml @@ -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] diff --git a/node-hub/dora-pyaudio/pyproject.toml b/node-hub/dora-pyaudio/pyproject.toml index c1ff8824..69f43c5e 100644 --- a/node-hub/dora-pyaudio/pyproject.toml +++ b/node-hub/dora-pyaudio/pyproject.toml @@ -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] diff --git a/node-hub/dora-pyorbbecksdk/pyproject.toml b/node-hub/dora-pyorbbecksdk/pyproject.toml index 357b0b37..e7f20fa0 100644 --- a/node-hub/dora-pyorbbecksdk/pyproject.toml +++ b/node-hub/dora-pyorbbecksdk/pyproject.toml @@ -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] diff --git a/node-hub/dora-pyrealsense/pyproject.toml b/node-hub/dora-pyrealsense/pyproject.toml index 5ff42b40..b9556fba 100644 --- a/node-hub/dora-pyrealsense/pyproject.toml +++ b/node-hub/dora-pyrealsense/pyproject.toml @@ -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] diff --git a/node-hub/dora-qwenvl/pyproject.toml b/node-hub/dora-qwenvl/pyproject.toml index b6881d53..08c42708 100644 --- a/node-hub/dora-qwenvl/pyproject.toml +++ b/node-hub/dora-qwenvl/pyproject.toml @@ -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] diff --git a/node-hub/dora-rdt-1b/pyproject.toml b/node-hub/dora-rdt-1b/pyproject.toml index 81573cb6..c6a62587 100644 --- a/node-hub/dora-rdt-1b/pyproject.toml +++ b/node-hub/dora-rdt-1b/pyproject.toml @@ -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] diff --git a/node-hub/dora-ugv/pyproject.toml b/node-hub/dora-ugv/pyproject.toml index dae5028a..32974e43 100644 --- a/node-hub/dora-ugv/pyproject.toml +++ b/node-hub/dora-ugv/pyproject.toml @@ -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] diff --git a/node-hub/dora-vad/pyproject.toml b/node-hub/dora-vad/pyproject.toml index ce87d1c8..9585c04a 100644 --- a/node-hub/dora-vad/pyproject.toml +++ b/node-hub/dora-vad/pyproject.toml @@ -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 ", - "Enzo Le Van ", - "Félix Huang ", -] +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] diff --git a/node-hub/dora-yolo/pyproject.toml b/node-hub/dora-yolo/pyproject.toml index 3878e688..f571eec8 100644 --- a/node-hub/dora-yolo/pyproject.toml +++ b/node-hub/dora-yolo/pyproject.toml @@ -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] diff --git a/node-hub/llama-factory-recorder/pyproject.toml b/node-hub/llama-factory-recorder/pyproject.toml index beea2bd0..4a8ce791 100644 --- a/node-hub/llama-factory-recorder/pyproject.toml +++ b/node-hub/llama-factory-recorder/pyproject.toml @@ -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] diff --git a/node-hub/opencv-plot/pyproject.toml b/node-hub/opencv-plot/pyproject.toml index c6ca44d3..21a9789a 100644 --- a/node-hub/opencv-plot/pyproject.toml +++ b/node-hub/opencv-plot/pyproject.toml @@ -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] diff --git a/node-hub/opencv-video-capture/pyproject.toml b/node-hub/opencv-video-capture/pyproject.toml index c0c077bd..cb310374 100644 --- a/node-hub/opencv-video-capture/pyproject.toml +++ b/node-hub/opencv-video-capture/pyproject.toml @@ -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] diff --git a/node-hub/pyarrow-assert/pyproject.toml b/node-hub/pyarrow-assert/pyproject.toml index 47abfebe..a6b7a410 100644 --- a/node-hub/pyarrow-assert/pyproject.toml +++ b/node-hub/pyarrow-assert/pyproject.toml @@ -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] diff --git a/node-hub/pyarrow-sender/pyproject.toml b/node-hub/pyarrow-sender/pyproject.toml index 87898995..66254bd5 100644 --- a/node-hub/pyarrow-sender/pyproject.toml +++ b/node-hub/pyarrow-sender/pyproject.toml @@ -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] diff --git a/node-hub/terminal-input/pyproject.toml b/node-hub/terminal-input/pyproject.toml index 63bf1ba8..7b3bf67d 100644 --- a/node-hub/terminal-input/pyproject.toml +++ b/node-hub/terminal-input/pyproject.toml @@ -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]