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

conda ? #4

Open
davidlatwe opened this issue Sep 28, 2020 · 0 comments
Open

conda ? #4

davidlatwe opened this issue Sep 28, 2020 · 0 comments

Comments

@davidlatwe
Copy link
Member

davidlatwe commented Sep 28, 2020

Install Rez inside a conda environment

Need to change Rez's install.py, so that:

  • won't create a virtualenv again
  • placing .rez_production_install in a location that fit conda env layout (python.exe is not in Scripts in conda)

see getblessing/rez@4a70f96

Env var setup

> conda env config var set PATH="path_to/conda/env/rez/Scripts/rez;%PATH%"
> conda env config var set REZ_CONFIG_FILE=path_to/awesome-rez/rezconfig.py

Conda package dependency

I imaging that all packages deployed from conda could share a rezified root conda env that contains all essential packages like vs2015_runtime, zlib, ssl ...

Problems

  • calling conda activate may mess up Rez's context
  • calling rez-env may mess up conda env
  • If not calling conda activate, Python that deployed from conda will prompt warning message
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

1 participant