Some checks failed
Mark stable commit / test-unit (push) Has been cancelled
Mark stable commit / test-integration (push) Has been cancelled
Mark stable commit / test-env-virtual (push) Has been cancelled
Mark stable commit / test-env-nix (push) Has been cancelled
Mark stable commit / test-e2e (push) Has been cancelled
Mark stable commit / test-virgin-user (push) Has been cancelled
Mark stable commit / test-virgin-root (push) Has been cancelled
Mark stable commit / mark-stable (push) Has been cancelled
* Remove legacy *main.py* and introduce *pkgmgr* module entry via *python -m pkgmgr* * Add ***main**.py* as the canonical entry point delegating to the CLI * Export *PYTHONPATH=src* in Makefile to ensure reliable imports in dev and CI * Update setup scripts (venv & nix) to use module execution * Refactor all E2E tests to execute the real module entry instead of file paths This aligns pkgmgr with standard Python packaging practices and simplifies testing, setup, and execution across environments. https://chatgpt.com/share/693c9056-716c-800f-b583-fc9245eab2b4
10 lines
424 B
Bash
Executable File
10 lines
424 B
Bash
Executable File
# ------------------------------------------------------------
|
|
# Nix shell mode: do not touch venv, only run install
|
|
# ------------------------------------------------------------
|
|
|
|
echo "[setup] Nix mode enabled (NIX_ENABLED=1)."
|
|
echo "[setup] Skipping virtualenv creation and dependency installation."
|
|
echo "[setup] Running install via system python3..."
|
|
python3 -m pkgmgr install
|
|
echo "[setup] Setup finished (Nix mode)."
|