make it optionnal to ignore matplotlib
This commit is contained in:
parent
2e0c9e7833
commit
937f241af6
3 changed files with 7 additions and 3 deletions
|
|
@ -43,4 +43,6 @@ Once all the build steps are done, you can install the package with `pip install
|
|||
|
||||
If you have access to the grodd repo, you can use the grodd automatic app runner, by the project with the `grodd` extra:
|
||||
|
||||
`pip install dist/theseus_autopatcher-0.1.0-py3-none-any.whl[grodd]` or `pip install .[grodd]`
|
||||
`pip install dist/theseus_autopatcher-0.1.0-py3-none-any.whl[grodd,no-plt]` or `pip install .[grodd,no-plt]`
|
||||
|
||||
(The `no-plt` extra replace the matplotlib that can problematic on some system with a dummy package. The package is needed because androguard uses it on a feature that really should be optional)
|
||||
|
|
|
|||
3
theseus_autopatcher/poetry.lock
generated
3
theseus_autopatcher/poetry.lock
generated
|
|
@ -1433,8 +1433,9 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"]
|
|||
|
||||
[extras]
|
||||
grodd = ["grodd-runner"]
|
||||
no-plt = ["matplotlib"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.1"
|
||||
python-versions = ">=3.13,<4.0.0"
|
||||
content-hash = "7040c0766fa42a2c4513c82b38d5a653a18bde46bc51d3c517edfd6be74942c5"
|
||||
content-hash = "859ddea48bf88fdb2b3a1eeffda92e1bd2a45353935eff438fcc4ed6456d8358"
|
||||
|
|
|
|||
|
|
@ -11,11 +11,12 @@ requires-python = ">=3.13,<4.0.0"
|
|||
|
||||
[tool.poetry.dependencies]
|
||||
theseus-frida = { path = "../frida" }
|
||||
matplotlib = { path = "../matplotlib" }
|
||||
matplotlib = { path = "../matplotlib", optional = true }
|
||||
grodd-runner = {git = "ssh://git@gitlab.inria.fr/CIDRE/malware/grodd-runner.git", optional = true}
|
||||
|
||||
[tool.poetry.extras]
|
||||
grodd = ["grodd-runner"]
|
||||
no-plt = ["matplotlib"]
|
||||
|
||||
[tool.poetry]
|
||||
packages = [{include = "theseus_autopatcher", from = "src"}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue