nh
This commit is contained in:
@@ -7,7 +7,7 @@ present or its copy of this helper gets removed.
|
||||
|
||||
Features (subset of the repo helper):
|
||||
- Locate repository venv (default: <workspace>/hydrusnetwork/.venv)
|
||||
- Install or reinstall requirements.txt into the venv
|
||||
- Install or reinstall scripts/requirements.txt into the venv
|
||||
- Verify key imports
|
||||
- Launch hydrus_client.py (foreground or detached)
|
||||
- Install/uninstall simple user-level start-on-boot services (schtasks/systemd/crontab)
|
||||
@@ -50,7 +50,7 @@ def get_python_in_venv(venv_dir: Path) -> Optional[Path]:
|
||||
|
||||
|
||||
def find_requirements(root: Path) -> Optional[Path]:
|
||||
candidates = [root / "requirements.txt", root / "client" / "requirements.txt"]
|
||||
candidates = [root / "scripts" / "requirements.txt", root / "requirements.txt", root / "client" / "requirements.txt"]
|
||||
for c in candidates:
|
||||
if c.exists():
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user