Public Member Functions | Public Attributes | Private Member Functions | List of all members
catkin_virtualenv.venv.Virtualenv Class Reference

Public Member Functions

def __init__ (self, path)
 
def check (self, requirements, extra_pip_args)
 
def initialize (self, python, use_system_packages, extra_pip_args, clean=True)
 
def install (self, requirements, extra_pip_args)
 
def lock (self, package_name, input_requirements, no_overwrite, extra_pip_args)
 
def relocate (self, target_dir)
 

Public Attributes

 path
 

Private Member Functions

def _check_module (self, python_executable, module)
 
def _delete_bytecode (self)
 
def _venv_bin (self, binary_name)
 

Detailed Description

Definition at line 41 of file venv.py.

Constructor & Destructor Documentation

def catkin_virtualenv.venv.Virtualenv.__init__ (   self,
  path 
)
Manage a virtualenv at the specified path. 

Definition at line 42 of file venv.py.

Member Function Documentation

def catkin_virtualenv.venv.Virtualenv._check_module (   self,
  python_executable,
  module 
)
private

Definition at line 162 of file venv.py.

def catkin_virtualenv.venv.Virtualenv._delete_bytecode (   self)
private
Remove all .py[co] files since they embed absolute paths. 

Definition at line 171 of file venv.py.

def catkin_virtualenv.venv.Virtualenv._venv_bin (   self,
  binary_name 
)
private

Definition at line 159 of file venv.py.

def catkin_virtualenv.venv.Virtualenv.check (   self,
  requirements,
  extra_pip_args 
)
Check if a set of requirements is completely locked. 

Definition at line 90 of file venv.py.

def catkin_virtualenv.venv.Virtualenv.initialize (   self,
  python,
  use_system_packages,
  extra_pip_args,
  clean = True 
)
Initialize a new virtualenv using the specified python version and extra arguments. 

Definition at line 46 of file venv.py.

def catkin_virtualenv.venv.Virtualenv.install (   self,
  requirements,
  extra_pip_args 
)
Sync a virtualenv with the specified requirements. 

Definition at line 84 of file venv.py.

def catkin_virtualenv.venv.Virtualenv.lock (   self,
  package_name,
  input_requirements,
  no_overwrite,
  extra_pip_args 
)
Create a frozen requirement set from a set of input specifications. 

Definition at line 116 of file venv.py.

def catkin_virtualenv.venv.Virtualenv.relocate (   self,
  target_dir 
)
Relocate a virtualenv to another directory. 

Definition at line 147 of file venv.py.

Member Data Documentation

catkin_virtualenv.venv.Virtualenv.path

Definition at line 44 of file venv.py.


The documentation for this class was generated from the following file:


catkin_virtualenv
Author(s): Paul Bovbel
autogenerated on Thu Apr 1 2021 02:36:27