Support for virtualenv.
|
|
|
|
|
_running_in_virtualenv()
Returns True, if scons is executed within a virtualenv |
source code
|
|
|
_is_path_in(path,
base)
Returns true, if path is located under the base directory. |
source code
|
|
|
|
|
_inject_venv_path(env,
path_list=None)
Modify environment such that SCons will take into account its virtualenv
when running external tools. |
source code
|
|
|
select_paths_in_venv(path_list)
Returns a list of paths from path_list which are under virtualenv's
home directory. |
source code
|
|
|
ImportVirtualenv(env)
Copies virtualenv-related environment variables from OS environment
to env['ENV'] and prepends virtualenv's PATH to env['ENV']['PATH']. |
source code
|
|
|
Virtualenv()
Returns path to the virtualenv home if scons is executing within a
virtualenv or None, if not. |
source code
|
|
|
IsInVirtualenv(path)
Returns True, if path is under virtualenv's home directory. If not,
or if we don't use virtualenv, returns False. |
source code
|
|