Skip to content
Open
Show file tree
Hide file tree
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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@ cmake -Bbuild -GNinja -DAL_PYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX="$(pwd)/tes
cmake --build build --target install
```

### `AL_PYTHON_BINDINGS` options

This CMake option controls how the `imas_core` Python package is built.

| Value | When to use |
|---|---|
| `ON` | (default) pip builds the wheel in an isolated environment and downloads build dependencies automatically. |
| `no-build-isolation` | `numpy` etc build dependencies are already available in the environment. |
| `editable` or `e` | Development. Installs `imas_core` in editable mode (`pip install --editable`) |


See [Developer Guide](docs/source/developers/index.rst) for detailed instructions.

## Links
Expand Down
1 change: 1 addition & 0 deletions skbuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ set_target_properties(
install(CODE "execute_process(COMMAND ${Python_EXECUTABLE}
-m pip install imas_core
--no-index
--no-deps
--prefix=${CMAKE_INSTALL_PREFIX}
--find-links ${CMAKE_CURRENT_BINARY_DIR}/dist/
)"
Expand Down
Loading