mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
Document how to install development dependencies
Introduced in:
d1dd997b7b
This commit is contained in:
@@ -47,6 +47,14 @@ Next, use `pip` to install the source code in "editable" mode. This means that P
|
||||
|
||||
You'll find that the `capa.exe` (Windows) or `capa` (Linux) executables in your path now invoke the capa binary from this directory.
|
||||
|
||||
If you want to install the development dependencies, which you need to run the code formatters, syntax checker, rule linter and tests (and for the [hooks](#4-setup-hooks-optional)) run:
|
||||
|
||||
`$ pip install -e ./local/path/to/src[dev]`
|
||||
|
||||
If you are using zsh, do not forget to escape the square brackets:
|
||||
|
||||
`$ pip install -e ./local/path/to/src\[dev\]`
|
||||
|
||||
### 4. Setup hooks [optional]
|
||||
|
||||
If you plan to contribute to capa, you may want to setup the hooks.
|
||||
|
||||
Reference in New Issue
Block a user