Commit a137ba7
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- extra
- installer
8 files changed
+5117
-284
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
1 | 10 | | |
2 | 11 | | |
3 | 12 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments