fix: nettoyage scripts de déploiement Windows
- deploy_windows.py : supprimé window_info dupliqués du manifeste - build_package.sh : exclusion chat_window, shared_state, capture_server, *.md - lea_ui copie uniquement __init__.py + server_client.py - Package résultant : 68 KB (propre, minimal) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -41,8 +41,6 @@ FILE_MANIFEST: list[tuple[str, str]] = [
|
|||||||
("agent_v1/core/__init__.py", "agent_v1/core/__init__.py"),
|
("agent_v1/core/__init__.py", "agent_v1/core/__init__.py"),
|
||||||
("agent_v1/core/captor.py", "agent_v1/core/captor.py"),
|
("agent_v1/core/captor.py", "agent_v1/core/captor.py"),
|
||||||
("agent_v1/core/executor.py", "agent_v1/core/executor.py"),
|
("agent_v1/core/executor.py", "agent_v1/core/executor.py"),
|
||||||
("agent_v1/core/window_info.py", "agent_v1/core/window_info.py"),
|
|
||||||
("agent_v1/core/window_info_crossplatform.py", "agent_v1/core/window_info_crossplatform.py"),
|
|
||||||
|
|
||||||
# agent_v1/network
|
# agent_v1/network
|
||||||
("agent_v1/network/__init__.py", "agent_v1/network/__init__.py"),
|
("agent_v1/network/__init__.py", "agent_v1/network/__init__.py"),
|
||||||
|
|||||||
@@ -93,6 +93,10 @@ rsync -a \
|
|||||||
--exclude='sessions/' \
|
--exclude='sessions/' \
|
||||||
--exclude='logs/*.log' \
|
--exclude='logs/*.log' \
|
||||||
--exclude='.hypothesis' \
|
--exclude='.hypothesis' \
|
||||||
|
--exclude='*.md' \
|
||||||
|
--exclude='ui/chat_window.py' \
|
||||||
|
--exclude='ui/shared_state.py' \
|
||||||
|
--exclude='ui/capture_server.py' \
|
||||||
"$PROJECT_ROOT/agent_v0/agent_v1/" \
|
"$PROJECT_ROOT/agent_v0/agent_v1/" \
|
||||||
"$PACKAGE_DIR/agent_v1/"
|
"$PACKAGE_DIR/agent_v1/"
|
||||||
|
|
||||||
@@ -108,8 +112,9 @@ echo ""
|
|||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
echo "[5/7] Copie du module lea_ui..."
|
echo "[5/7] Copie du module lea_ui..."
|
||||||
mkdir -p "$PACKAGE_DIR/lea_ui"
|
mkdir -p "$PACKAGE_DIR/lea_ui"
|
||||||
cp "$PROJECT_ROOT/agent_v0/lea_ui/"*.py "$PACKAGE_DIR/lea_ui/"
|
cp "$PROJECT_ROOT/agent_v0/lea_ui/__init__.py" "$PACKAGE_DIR/lea_ui/"
|
||||||
echo " lea_ui/ copie ($(ls "$PACKAGE_DIR/lea_ui/"*.py | wc -l) fichiers)"
|
cp "$PROJECT_ROOT/agent_v0/lea_ui/server_client.py" "$PACKAGE_DIR/lea_ui/"
|
||||||
|
echo " lea_ui/ copie (2 fichiers)"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user