Skip to content

Commit bb653fa

Browse files
committed
chore(bin): rename py-update to py-dev and use repo-local Python launcher
Rename `bin/py-update`/`bin/py-update.cmd` to `bin/py-dev`/`bin/py-dev.cmd`. Standardize both scripts to invoke the repository-local Python launcher from the script directory (`$SCRIPT_DIR/py` / `%~dp0py.cmd`), install the project's `requirements-dev.txt` from the repo root, and run `setup.py develop` for the three local packages. - Renamed: bin/py-update -> bin/py-dev (POSIX) - Renamed: bin/py-update.cmd -> bin/py-dev.cmd (Windows) - Scripts now: install `requirements-dev.txt` from project root and run package dev installs
1 parent 5659252 commit bb653fa

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

bin/py-dev

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4+
"$SCRIPT_DIR/py" -m pip install -r "$SCRIPT_DIR/../requirements-dev.txt"
5+
"$SCRIPT_DIR/py" packages/proxy-hunter-python/setup.py develop
6+
"$SCRIPT_DIR/py" packages/proxy-checker-python/setup.py develop
7+
"$SCRIPT_DIR/py" packages/rsa-utility/setup.py develop

bin/py-dev.cmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@echo off
2+
3+
"%~dp0py.cmd" -m pip install -r "%~dp0..\requirements-dev.txt"
4+
"%~dp0py.cmd" packages/proxy-hunter-python/setup.py develop
5+
"%~dp0py.cmd" packages/proxy-checker-python/setup.py develop
6+
"%~dp0py.cmd" packages/rsa-utility/setup.py develop

bin/py-update

Lines changed: 0 additions & 5 deletions
This file was deleted.

bin/py-update.cmd

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)