Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly align code blocks with list items in README #115

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,23 @@ Documentation on Reclass extensions introduced in the Kapicorp Reclass fork can

1. Create a local virtualenv for running Python tests and install [maturin] and pytest

```
python -m venv .venv
source .venv/bin/activate
pip install maturin pytest
```
```
python -m venv .venv
source .venv/bin/activate
pip install maturin pytest
```

2. Build the reclass-rs Python library and install it in the virtualenv

```
maturin develop
```
```
maturin develop
```

3. Run Python tests

```
pytest
```
```
pytest
```

## Rust development

Expand Down Expand Up @@ -93,17 +93,17 @@ If you're using [Kapitan], you can test reclass-rs by installing `reclass-rs` in

1. Install `reclass-rs` in your Kapitan virtualenv

```
KAPITAN_VENV=/path/to/your/kapitan/virtualenv
source ${KAPITAN_VENV}/bin/activate
pip install reclass-rs
```
```
KAPITAN_VENV=/path/to/your/kapitan/virtualenv
source ${KAPITAN_VENV}/bin/activate
pip install reclass-rs
```

2. Patch the Kapitan package in the virtualenv with the following command

```
patch -p1 -d $KAPITAN_VENV < hack/kapitan_0.32_reclass_rs.patch
```
```
patch -p1 -d $KAPITAN_VENV < hack/kapitan_0.32_reclass_rs.patch
```

Please note that we've only tested the patch against the Kapitan 0.32 release as published on PyPI.

Expand Down
Loading