Skip to content

Commit a137ba7

Browse files
Refactor installer to support uv, inline installers, custom install path (#2822)
* Refactor installer to support uv, inline installers Summary of Changes: 1. `pyproject.toml`: Migrated to the standard PEP 621 format. It is now fully compatible with `uv`, Poetry 2.0+, and other standard Python tools. 2. `installer/cape2.sh`: * Added `uv` support: Users can now install using uv by setting USE_UV=true. * Consolidated Installers: Logic from libvirt_installer.sh and yara_installer.sh is now integrated as internal functions (install_libvirt and install_yara_python). * Modernized Build Process: Switched to pip install with --config-settings for yara-python. This ensures the C-extension is built from source with required features (--enable-cuckoo, etc.) and linked dynamically against system libraries. 3. Clean-up: Removed the obsolete extra/libvirt_installer.sh and extra/yara_installer.sh scripts. * Update poetry.lock * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update installer/cape2.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update cape2.sh * Update cape2.sh * Update cape2.sh * Update cape2.sh * pyre2 * Update acknowledgment.md * Update changelog.md --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 1e778a6 commit a137ba7

File tree

8 files changed

+5117
-284
lines changed

8 files changed

+5117
-284
lines changed

acknowledgment.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @r0ny123
3838
* @KillerInstinct
3939
* @KingKDot
40+
* [Gemini by Google](https://gemini.google.com/app) / [Gemini-cli](https://geminicli.com/)
4041
* And many others <3
4142
* Special thank you to Paul Royal and [Georgia Tech](https://www.cc.gatech.edu/)
4243
* Finally a massive debt of gratitude to Gabor Kiss, for teaching me everything I know, and setting me on the path to enlightenment.

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### [02.01.2026]
2+
* CAPE installer:
3+
* now support custom destination folder env variable:
4+
* `CAPE_ROOT=<path>/CAPEv2`
5+
* UV support with env variable:
6+
* `USE_UV=True`
7+
* Example:
8+
* `USE_UV=True CAPE_ROOT=/mnt/external/CAPEv2 bash cape2.sh all | tee cape2.log`
9+
110
### [24.11.2025]
211
* Monitor update: Fix issue with RESUME: monitor message from NtResumeProcess hook
312

extra/libvirt_installer.sh

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

extra/yara_installer.sh

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

0 commit comments

Comments
 (0)