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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
Here are a few ways to set up an environment with Hatch using the
pyproject.tomlfile:This creates a virtual environment in the
.venvfolder within the project directory.This creates a virtual environment in the default location specified in Hatch's
config.tomlfile 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.tomlfile) instead of what's defined in thepyproject.tomlfile? Can the user override the environment settings inpyproject.tomlwith their own default preferences?Beta Was this translation helpful? Give feedback.
All reactions