Rename worker package cross_py_builder -> agent

The nested cross_py_builder package only contains the worker agent. Rename
it to agent/ to match its role and distinguish it from the ctrl package and
the PyPI distribution name. Internal imports are relative, so build_agent.py
and zeroconf_server.py are unaffected except for the cosmetic APP_NAME banner.
This commit is contained in:
Brett Williams
2026-08-30 22:01:54 -05:00
parent b5b1cd740b
commit 59fb7739e4
5 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ user resubmit to an eligible worker.
``` ```
setup.py (add ctrl package + entry point `cross-py-controller`) setup.py (add ctrl package + entry point `cross-py-controller`)
requirements.txt (add waitress; keep Flask/requests) requirements.txt (add waitress; keep Flask/requests)
cross_py_builder/ (agent unchanged except new /progress endpoint) agent/ (worker agent: build_agent.py, zeroconf_server.py)
ctrl/ ctrl/
__init__.py __init__.py
app.py (Flask factory, routes, waitress runner) app.py (Flask factory, routes, waitress runner)
@@ -19,7 +19,7 @@ import uuid
import platform import platform
from .zeroconf_server import ZeroconfServer from .zeroconf_server import ZeroconfServer
APP_NAME = "cross_py_builder" APP_NAME = "agent"
build_agent_version = "0.1.34" build_agent_version = "0.1.34"
app_port = 9001 app_port = 9001
+1 -1
View File
@@ -7,7 +7,7 @@ setup(
install_requires=open("requirements.txt").read().splitlines(), install_requires=open("requirements.txt").read().splitlines(),
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
"cross-py-agent=cross_py_builder.build_agent:main", "cross-py-agent=agent.build_agent:main",
"cross-py-controller=ctrl.app:main", "cross-py-controller=ctrl.app:main",
], ],
}, },