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

use conda env config vars set #126

Open
majidaldo opened this issue Nov 2, 2021 · 2 comments
Open

use conda env config vars set #126

majidaldo opened this issue Nov 2, 2021 · 2 comments

Comments

@majidaldo
Copy link
Contributor

Might be time to think of conda/mumba as 'low level'. I think it's best to pass on env vars to conda env config vars set.

@prusse-martin
Copy link
Member

I was not aware of that sub command. Its is good to be make aware of that.

But I see 2 problems:

  1. Today conda-devenv will append when an environment variable is declared as list and not overwrite. This is usefull when one want to do things like add a path to PATH or PYTHONPATH;
  2. (More of a personal opinion) Today one could use conda-wrappers that will create wrapper scripts (eg. \Scripts\wrappers\conda\python.bat) to perform a quick activation and execute the environment's python, and that do not process the "state" file but execute the activation scripts;

@majidaldo
Copy link
Contributor Author

I was not aware of that sub command. Its is good to be make aware of that.

But I see 2 problems:

  1. Today conda-devenv will append when an environment variable is declared as list and not overwrite. This is usefull when one want to do things like add a path to PATH or PYTHONPATH;
  2. (More of a personal opinion) Today one could use conda-wrappers that will create wrapper scripts (eg. \Scripts\wrappers\conda\python.bat) to perform a quick activation and execute the environment's python, and that do not process the "state" file but execute the activation scripts;

i use conda-wrappers as part of my 'system' (it's great!). i just feel that this env var concept should be integrated. ya, the wrapper scripts don't activate the conda env config vars vars. so i dropped the idea for my use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants