Skip to content

Commit

Permalink
📝 dirs.env.pip-compile
Browse files Browse the repository at this point in the history
closes #89
  • Loading branch information
juftin committed Jan 4, 2025
1 parent a3c52bb commit f51afef
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,23 @@ installer but want to pass the `--no-deps` flag to `pip install` you can do so w
]
```

## Alternate Install Locations

If you'd like to install dependencies into a different location, you must configure
this at the `hatch` level in your `config.toml` file:

```toml
[dirs.env]
virtual = ".venv"
pip-compile = ".venv"
```

Alternatively, you can set this from the commandline:

```shell
hatch config set dirs.env.pip-compile ".venv"
```

[pip-sync]: https://github.com/jazzband/pip-tools
[pip]: https://pip.pypa.io
[inheritance]: hhttps://hatch.pypa.io/latest/config/environment/overview/#inheritance
Expand Down

0 comments on commit f51afef

Please sign in to comment.