Skip to content

Commit 8fde8ff

Browse files
authored
Merge branch 'agent' into codex/migrate-c2client-to-pyqt6
2 parents 659c094 + f1d6f43 commit 8fde8ff

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

C2Client/pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,23 @@ version = "0.1.0"
88
dependencies = [
99
"setuptools",
1010
"pycryptodome==3.23.0",
11-
"grpcio==1.66.1",
12-
"PyQt6==6.7.0",
11+
"grpcio==1.74.0",
12+
"PyQt5==5.15.11",
1313
"pyqtdarktheme==2.1.0",
14-
"protobuf==5.27.0",
14+
"protobuf==6.32.0",
1515
"gitpython==3.1.45",
1616
"requests==2.32.5",
1717
"pwn==1.0",
1818
"pefile==2024.8.26",
1919
"openai==1.102.0"
2020
]
2121

22+
[project.optional-dependencies]
23+
test = [
24+
"pytest==8.4.1",
25+
"pytest-qt==4.5.0"
26+
]
27+
2228
[tool.setuptools.packages.find]
2329
where = ["."]
2430
include = ["C2Client*", "C2Client.libGrpcMessages*", "C2Client.TerminalModules.*"]

C2Client/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ requests==2.32.5
88
pwn==1.0
99
pefile==2024.8.26
1010
openai==1.102.0
11+
pytest==8.4.1
12+
pytest-qt==4.5.0

C2Client/tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import os
2+
3+
os.environ.setdefault("QT_QPA_PLATFORM", "offscreen")

0 commit comments

Comments
 (0)