Public Member Functions | Public Attributes
dh_virtualenv.deployment.Deployment Class Reference

List of all members.

Public Member Functions

def __init__
def clean
def create_virtualenv
def find_script_files
def fix_activate_path
def fix_local_symlinks
def fix_shebangs
def from_options
def install_dependencies
def install_package
def pip
def pip_preinstall
def run_tests
def venv_bin

Public Attributes

 bin_dir
 builtin_venv
 debian_root
 extra_virtualenv_arg
 install_suffix
 local_bin_dir
 log_file
 package
 package_dir
 pip_args
 pip_prefix
 pip_preinstall_prefix
 pip_upgrade_args
 pip_version
 preinstall
 python
 requirements_filename
 setuptools
 skip_install
 sourcedirectory
 upgrade_pip
 use_system_packages
 verbose
 virtualenv_install_dir

Detailed Description

Definition at line 42 of file deployment.py.


Constructor & Destructor Documentation

def dh_virtualenv.deployment.Deployment.__init__ (   self,
  package,
  extra_urls = [],
  preinstall = [],
  pip_tool = 'pip',
  upgrade_pip = False,
  index_url = None,
  setuptools = False,
  python = None,
  builtin_venv = False,
  builtin_pip = False,
  sourcedirectory = None,
  verbose = False,
  extra_pip_arg = [],
  extra_virtualenv_arg = [],
  use_system_packages = False,
  skip_install = False,
  install_suffix = None,
  log_file = tempfile.NamedTemporaryFile().name,
  pip_version = None,
  requirements_filename = 'requirements.txt' 
)

Definition at line 43 of file deployment.py.


Member Function Documentation

Definition at line 155 of file deployment.py.

Definition at line 158 of file deployment.py.

Find list of files containing python shebangs in the bin directory

Definition at line 222 of file deployment.py.

Replace the `VIRTUAL_ENV` path in bin/activate to reflect the
post-install path of the virtualenv.

Definition at line 244 of file deployment.py.

Definition at line 281 of file deployment.py.

Translate /usr/bin/python and /usr/bin/env python shebang
lines to point to our virtualenv python.

Definition at line 232 of file deployment.py.

def dh_virtualenv.deployment.Deployment.from_options (   cls,
  package,
  options 
)

Definition at line 134 of file deployment.py.

Definition at line 198 of file deployment.py.

Definition at line 277 of file deployment.py.

def dh_virtualenv.deployment.Deployment.pip (   self,
  args 
)

Definition at line 195 of file deployment.py.

Definition at line 192 of file deployment.py.

Definition at line 216 of file deployment.py.

def dh_virtualenv.deployment.Deployment.venv_bin (   self,
  binary_name 
)

Definition at line 189 of file deployment.py.


Member Data Documentation

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.

Definition at line 43 of file deployment.py.


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


catkin_virtualenv
Author(s): Paul Bovbel
autogenerated on Thu Jun 27 2019 20:04:50