How to Override Environment Setup #1727
krunalvaghani
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Here are a few ways to set up an environment with Hatch using the
pyproject.toml
file:This creates a virtual environment in the
.venv
folder within the project directory.This creates a virtual environment in the default location specified in Hatch's
config.toml
file under the[dirs]
section, as described here.This sets up a Conda environment.
Question
Is there a way for the user to configure Hatch to use their default environment setup (e.g., via the
config.toml
file) instead of what's defined in thepyproject.toml
file? Can the user override the environment settings inpyproject.toml
with their own default preferences?Beta Was this translation helpful? Give feedback.
All reactions