Skip to content

Commit f1a7d4f

Browse files
committed
feat: Add process management and cleanup functionality using psutil
1 parent 6a9501a commit f1a7d4f

File tree

6 files changed

+359
-120
lines changed

6 files changed

+359
-120
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
python -m pip install setuptools wheel pytest pytest-asyncio
24+
python -m pip install -r requirements.txt
2425
python -m pip install -r requirements-dev.txt
2526
python -m pip install -e .
2627
- name: Set V2Ray link

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
python -m pip install setuptools wheel pytest pytest-asyncio build
26+
python -m pip install -r requirements.txt
2627
- name: Build package
2728
run: |
2829
python -m build

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ keywords = [
2929
"shadowsocks",
3030
"trojan",
3131
]
32-
dependencies = []
32+
dependencies = ["psutil"]
3333

3434
[project.urls]
3535
"Homepage" = "https://github.com/nichind/v2ray2proxy"

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
psutil

uv.lock

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)