Convert to pip package

- Moved __init__.py and plugin.yaml into hermes_piper_plugin/ package directory
- Added pyproject.toml with build config and entry point registration
- Updated tests to reference new subdirectory paths
- Updated README with pip-based installation instructions

This converts the plugin from a flat layout (loaded via hermes plugins install)
to a proper pip package with the 'hermes_agent.plugins' entry point.
This commit is contained in:
2026-06-17 12:11:37 -04:00
parent c44e65e381
commit cfe9e9c4b9
5 changed files with 35 additions and 12 deletions

18
pyproject.toml Normal file
View File

@@ -0,0 +1,18 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "hermes-piper-plugin"
version = "1.0.0"
description = "Piper TTS plugin for Hermes Agent"
authors = [{name = "@gortium"}]
license = {text = "MIT"}
requires-python = ">=3.11"
dependencies = []
[project.entry-points.'hermes_agent.plugins']
piper = "hermes_piper_plugin:register"
[tool.setuptools.packages.find]
include = ["hermes_piper_plugin*", "tests*"]