virtualenv

This is the reference page for virtualenv generator. Go to Mastering/Virtual Environments if you want to learn how to use conan virtual environments.

Created files

  • activate.{sh|bat|ps1}

  • deactivate.{sh|bat|ps1}

Usage

Linux/macOS:

> source activate.sh

Windows:

> activate.bat

Variables declared

ENVIRONMENT VAR

VALUE

PS1

New shell prompt value corresponding to the current directory name

OLD_PS1

Old PS1 value, to recover it in deactivation

XXXX

Any variable declared in the self.env_info object of the requirements.