Functions | Variables
catkin_virtualenv.relocate Namespace Reference

Functions

def find_script_files (venv_dir)
 
def fix_activate_path (venv_dir, target_dir)
 
def fix_local_symlinks (venv_dir)
 
def fix_shebangs (venv_dir, target_dir)
 

Variables

string _PYTHON_INTERPRETERS_REGEX = r"\(" + r"\|".join(PYTHON_INTERPRETERS) + r"\)"
 
list PYTHON_INTERPRETERS = ["python", "pypy", "ipy", "jython"]
 

Function Documentation

◆ find_script_files()

def catkin_virtualenv.relocate.find_script_files (   venv_dir)
Find list of files containing python shebangs in the bin directory. 

Definition at line 31 of file relocate.py.

◆ fix_activate_path()

def catkin_virtualenv.relocate.fix_activate_path (   venv_dir,
  target_dir 
)
Replace the `VIRTUAL_ENV` path in bin/activate to reflect the
post-install path of the virtualenv.

Definition at line 59 of file relocate.py.

◆ fix_local_symlinks()

def catkin_virtualenv.relocate.fix_local_symlinks (   venv_dir)

Definition at line 81 of file relocate.py.

◆ fix_shebangs()

def catkin_virtualenv.relocate.fix_shebangs (   venv_dir,
  target_dir 
)
Translate /usr/bin/python and /usr/bin/env python shebang
lines to point to our virtualenv python.

Definition at line 47 of file relocate.py.

Variable Documentation

◆ _PYTHON_INTERPRETERS_REGEX

string catkin_virtualenv.relocate._PYTHON_INTERPRETERS_REGEX = r"\(" + r"\|".join(PYTHON_INTERPRETERS) + r"\)"
private

Definition at line 28 of file relocate.py.

◆ PYTHON_INTERPRETERS

list catkin_virtualenv.relocate.PYTHON_INTERPRETERS = ["python", "pypy", "ipy", "jython"]

Definition at line 27 of file relocate.py.



catkin_virtualenv
Author(s): Paul Bovbel
autogenerated on Sat Jun 10 2023 02:37:37