Package SCons :: Package Platform :: Module virtualenv
[hide private]
[frames] | no frames]

Module virtualenv

source code

SCons.Platform.virtualenv

Support for virtualenv.

Functions [hide private]
 
_enable_virtualenv_default() source code
 
_ignore_virtualenv_default() source code
 
_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_variables(env) 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
Variables [hide private]
  __revision__ = 'src/engine/SCons/Platform/virtualenv.py 3a41ed...
  virtualenv_enabled_by_default = False
  enable_virtualenv = False
  ignore_virtualenv = False
  virtualenv_variables = ['VIRTUAL_ENV', 'PIPENV_ACTIVE']
  __package__ = 'SCons.Platform'
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Platform/virtualenv.py 3a41ed6b288cee8d085373ad7fa02\
894e1903864 2019-01-23 17:30:35 bdeegan'