Merge pull request #912 from NousResearch/fix/packaging-bugs
fix: add missing packages to setuptools config
This commit is contained in:
commit
76a654f949
2 changed files with 3 additions and 5 deletions
|
|
@ -82,10 +82,10 @@ hermes = "hermes_cli.main:main"
|
||||||
hermes-agent = "run_agent:main"
|
hermes-agent = "run_agent:main"
|
||||||
|
|
||||||
[tool.setuptools]
|
[tool.setuptools]
|
||||||
py-modules = ["run_agent", "model_tools", "toolsets", "batch_runner", "trajectory_compressor", "toolset_distributions", "cli", "hermes_constants"]
|
py-modules = ["run_agent", "model_tools", "toolsets", "batch_runner", "trajectory_compressor", "toolset_distributions", "cli", "hermes_constants", "hermes_state", "hermes_time", "mini_swe_runner", "rl_cli", "utils"]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
include = ["tools", "hermes_cli", "gateway", "cron", "honcho_integration"]
|
include = ["agent", "tools", "tools.*", "hermes_cli", "gateway", "gateway.*", "cron", "honcho_integration"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|
|
||||||
|
|
@ -52,15 +52,13 @@ HERMES_ROOT = Path(__file__).parent.parent
|
||||||
TINKER_ATROPOS_ROOT = HERMES_ROOT / "tinker-atropos"
|
TINKER_ATROPOS_ROOT = HERMES_ROOT / "tinker-atropos"
|
||||||
ENVIRONMENTS_DIR = TINKER_ATROPOS_ROOT / "tinker_atropos" / "environments"
|
ENVIRONMENTS_DIR = TINKER_ATROPOS_ROOT / "tinker_atropos" / "environments"
|
||||||
CONFIGS_DIR = TINKER_ATROPOS_ROOT / "configs"
|
CONFIGS_DIR = TINKER_ATROPOS_ROOT / "configs"
|
||||||
LOGS_DIR = TINKER_ATROPOS_ROOT / "logs"
|
LOGS_DIR = Path(os.getenv("HERMES_HOME", Path.home() / ".hermes")) / "logs" / "rl_training"
|
||||||
|
|
||||||
|
|
||||||
def _ensure_logs_dir():
|
def _ensure_logs_dir():
|
||||||
"""Lazily create logs directory on first use (avoid side effects at import time)."""
|
"""Lazily create logs directory on first use (avoid side effects at import time)."""
|
||||||
if TINKER_ATROPOS_ROOT.exists():
|
if TINKER_ATROPOS_ROOT.exists():
|
||||||
LOGS_DIR.mkdir(exist_ok=True)
|
LOGS_DIR.mkdir(exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# Locked Configuration (Infrastructure Settings)
|
# Locked Configuration (Infrastructure Settings)
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue