Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override location of project environments #121

Closed
mcg1969 opened this issue Jul 8, 2023 · 1 comment
Closed

Override location of project environments #121

mcg1969 opened this issue Jul 8, 2023 · 1 comment
Labels
AEDSP To provide compatibility with AEDSP enhancement New feature or request

Comments

@mcg1969
Copy link
Contributor

mcg1969 commented Jul 8, 2023

anaconda-project offers the environment variable ANACONDA_PROJECT_ENVS_PATH as a means to override the location where environments are created. By default of course they go in ./envs/<name>, but we may have reason to home the environments outside of the project itself.

This variable actually accepts a comma-separated list of values. New environments are created in the first writable directory on the path.

You can see how anaconda-project does this here:
https://github.com/Anaconda-Platform/anaconda-project/blob/master/anaconda_project/env_spec.py#L318-L348

More information here: https://anaconda-project.readthedocs.io/en/latest/config.html

@mcg1969 mcg1969 added the AEDSP To provide compatibility with AEDSP label Jul 8, 2023
@mcg1969 mcg1969 added the enhancement New feature or request label Jul 8, 2023
@AlbertDeFusco
Copy link
Contributor

PR #159 adds support to change the location of envs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AEDSP To provide compatibility with AEDSP enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants