Skip to content

Commit 2bfa868

Browse files
committed
working on breaking down the requirements for files
1 parent 3493311 commit 2bfa868

7 files changed

Lines changed: 101 additions & 18 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
__pycache__
22
**/__pycache__/*
33
temp/*
4+
venv_*

requirements/requirements-all.txt

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
alabaster==1.0.0
2+
babel==2.16.0
3+
bcrypt==4.2.0
4+
capstone==5.0.3
5+
certifi==2024.8.30
6+
cffi==1.17.1
7+
charset-normalizer==3.3.2
8+
colored-traceback==0.4.2
9+
configparser==4.0.2
10+
cryptography==43.0.1
11+
docutils==0.21.2
12+
evtx==0.8.6
13+
hexdump==3.3
14+
idna==3.10
15+
imagesize==1.4.1
16+
intervaltree==3.1.0
17+
Jinja2==3.1.4
18+
Mako==1.3.5
19+
Markdown==3.7
20+
MarkupSafe==2.1.5
21+
more-itertools==5.0.0
22+
packaging==24.1
23+
paramiko==3.5.0
24+
pdoc3==0.11.4
25+
pipdeptree==2.24.0
26+
plumbum==1.8.3
27+
psutil==6.0.0
28+
pwn==1.0
29+
pwntools==4.13.0
30+
pycparser==2.22
31+
pyelftools==0.31
32+
Pygments==2.18.0
33+
PyNaCl==1.5.0
34+
pyparsing==2.4.7
35+
pyserial==3.5
36+
PySocks==1.7.1
37+
python-dateutil==2.9.0.post0
38+
python-evtx==0.7.4
39+
requests==2.32.3
40+
ROPGadget==7.4
41+
rpyc==6.0.0
42+
scapy==2.6.0
43+
six==1.16.0
44+
snowballstemmer==2.2.0
45+
sortedcontainers==2.4.0
46+
Sphinx==8.1.0
47+
sphinx-rtd-theme==3.0.2
48+
sphinxcontrib-applehelp==2.0.0
49+
sphinxcontrib-devhelp==2.0.0
50+
sphinxcontrib-htmlhelp==2.1.0
51+
sphinxcontrib-jquery==4.1
52+
sphinxcontrib-jsmath==1.0.1
53+
sphinxcontrib-qthelp==2.0.0
54+
sphinxcontrib-serializinghtml==2.0.0
55+
unicorn==2.1.0
56+
unix-ar==0.2.1
57+
urllib3==2.2.3
58+
zipp==1.0.0
59+
zstandard==0.23.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pdoc3>=0.11.4
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
alabaster>=1.0.0
2+
babel>=2.16.0
3+
certifi>=2024.8.30
4+
charset-normalizer>=3.3.2
5+
docutils>=0.21.2
6+
idna>=3.10
7+
imagesize>=1.4.1
8+
Jinja2>=3.1.4
9+
MarkupSafe>=2.1.5
10+
packaging>=24.1
11+
Pygments>=2.18.0
12+
requests>=2.32.3
13+
snowballstemmer>=2.2.0
14+
sphinx-rtd-theme==3.0.2
15+
sphinxcontrib-applehelp==2.0.0
16+
sphinxcontrib-devhelp==2.0.0
17+
sphinxcontrib-htmlhelp==2.1.0
18+
sphinxcontrib-jquery==4.1
19+
sphinxcontrib-jsmath==1.0.1
20+
sphinxcontrib-qthelp==2.0.0
21+
sphinxcontrib-serializinghtml==2.0.0
22+
urllib3>=2.2.3
Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,31 @@
1-
alabaster>=1.0.0
2-
babel>=2.16.0
31
bcrypt>=4.2.0
42
capstone>=5.0.3
5-
certifi>=2024.8.30
63
cffi>=1.17.1
7-
charset-normalizer>=3.3.2
84
colored-traceback>=0.4.2
95
configparser>=4.0.2
106
cryptography>=43.0.1
11-
docutils>=0.21.2
12-
evtx>=0.8.6
137
hexdump>=3.3
14-
idna>=3.10
15-
imagesize>=1.4.1
168
intervaltree>=3.1.0
17-
Jinja2>=3.1.4
189
Mako>=1.3.5
19-
MarkupSafe>=2.1.5
2010
more-itertools>=5.0.0
21-
packaging>=24.1
2211
paramiko>=3.5.0
2312
plumbum>=1.8.3
2413
psutil>=6.0.0
2514
pwntools>=4.13.0
2615
pycparser>=2.22
2716
pyelftools>=0.31
28-
Pygments>=2.18.0
2917
PyNaCl>=1.5.0
3018
pyparsing>=2.4.7
3119
pyserial>=3.5
3220
PySocks>=1.7.1
3321
python-dateutil>=2.9.0.post0
3422
python-evtx>=0.7.4
35-
requests>=2.32.3
3623
ROPGadget>=7.4
3724
rpyc>=6.0.0
3825
scapy>=2.6.0
3926
six>=1.16.0
40-
snowballstemmer>=2.2.0
4127
sortedcontainers>=2.4.0
4228
unicorn>=2.1.0
4329
unix-ar>=0.2.1
44-
urllib3>=2.2.3
4530
zipp>=1.0.0
46-
zstandard>=0.23.0
31+
zstandard>=0.23.0

requirements/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setuptools>=67.7.0

setup.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import setuptools
22
import os
3+
from pathlib import Path
34

45
with open("app/README.md", "r") as fh:
56
long_description = fh.read()
@@ -8,11 +9,24 @@
89
with open("VERSION", "r") as fv:
910
version = fv.read()
1011

12+
# Setup requirements
13+
14+
requirements_path = Path("requirements")
1115

1216
requirements = []
13-
with open("requirements.txt", "r") as fr:
17+
with open(Path(requirements_path, "requirements.txt"), "r") as fr:
1418
requirements = fr.read().splitlines()
1519

20+
21+
requirements_doc = []
22+
with open(Path(requirements_path, "requirements-docs-pdoc3.txt"), "r") as fr:
23+
requirements_doc = fr.read().splitlines()
24+
25+
requirements_dev = []
26+
with open(Path(requirements_path, "requirements.txt"), "r") as fr:
27+
requirements_dev = fr.read().splitlines()
28+
29+
1630
setuptools.setup(
1731
name="ctfsolver",
1832
version=version,
@@ -34,7 +48,7 @@
3448
# package_data={"ctfsolver": ["files/*"]},
3549
extras_require={
3650
"dev": ["pytest>=6.2.4", "twine>=3.4.2"],
37-
"docs": ["pdoc3>=0.9.2"],
51+
"docs": requirements_doc,
3852
},
3953
python_requires=">=3.11",
4054
entry_points={

0 commit comments

Comments
 (0)