Skip to content

Commit

Permalink
added CLI section to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbway committed Feb 29, 2024
1 parent 2f9bd84 commit 1d85ae6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ in every script, meaning the scripts do not need alteration before deployment.
Installation into `sitecustomize.py` can be managed with the import hook cli using
`python -m maturin_import_hook site install`. The CLI can also manage uninstallation.

## CLI

The package provides a CLI interface for getting information such as the location and size of the build cache and
managing the installation into `sitecustomize.py`. For details, run:

```shell
python -m maturin_import_hook --help
```

## Environment Variables

The import hook can be disabled by setting `MATURIN_IMPORT_HOOK_ENABLED=0`. This can be used to disable
Expand Down

0 comments on commit 1d85ae6

Please sign in to comment.