Skip to content

conda ? #4

Description

@davidlatwe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions