vpip.commands.install¶
install
command.
- vpip.commands.install.get_pkg_from_url(url)¶
- vpip.commands.install.install_global(packages, upgrade=False, latest=False)¶
Install global packages.
- vpip.commands.install.install_global_url(url)¶
- vpip.commands.install.install_local(packages, dev=False, **kwargs)¶
Install local packages and save to dependency.
- Parameters:
dev (bool) – If true then save to development depedency. Otherwise, save to production dependency.
kwargs (dict) – Other arguments are sent to
vpip.pip_api.install()
.
- vpip.commands.install.install_local_first_time()¶
Create the venv and install all dependencies.
If the lock file exists, execute
pip install -r requirements-lock.txt
.Otherwise
pip install -e . && pip install -r requirements.txt
.
- vpip.commands.install.run(ns)¶