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 |
Definition at line 42 of file deployment.py.
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.
def dh_virtualenv.deployment.Deployment.clean | ( | self | ) |
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.
def dh_virtualenv.deployment.Deployment.fix_shebangs | ( | self | ) |
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.
def dh_virtualenv.deployment.Deployment.pip_preinstall | ( | self, | |
args | |||
) |
Definition at line 192 of file deployment.py.
def dh_virtualenv.deployment.Deployment.run_tests | ( | self | ) |
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.
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.