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"\(" |
list | PYTHON_INTERPRETERS = ["python", "pypy", "ipy", "jython"] |
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.
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.
def catkin_virtualenv.relocate.fix_local_symlinks | ( | venv_dir | ) |
Definition at line 81 of file relocate.py.
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.
|
private |
Definition at line 28 of file relocate.py.
list catkin_virtualenv.relocate.PYTHON_INTERPRETERS = ["python", "pypy", "ipy", "jython"] |
Definition at line 27 of file relocate.py.