Install pip dependencies from new-style lockfiles
Project description
micromamba-install-locked-pip-dependencies
Table of Contents
Links
Introduction
Micromamba currently ignores pip dependencies in new-style lockfiles. This script parses the lockfile and installs those dependencies.
This script has no dependencies other than Python 3.6+. (It implements its own crude YAML parser.)
Usage
To install main
-category dependencies from conda-lock.yml
, simply run micromamba-install-locked-pip-dependencies
.
For more advanced usage:
$ micromamba-install-locked-pip-dependencies --help
usage: micromamba-install-locked-pip-dependencies [-h] [-f LOCKFILE]
[-c CATEGORY] [--dry-run]
[--uninstall]
[--pip-location PIP_LOCATION]
Install pip dependencies from new-style lockfiles
optional arguments:
-h, --help show this help message and exit
-f LOCKFILE, --lockfile LOCKFILE
Filename of the lockfile
-c CATEGORY, --category CATEGORY
Category to install (default 'main')
--dry-run Do not actually install anything
--uninstall Do not actually install anything
--pip-location PIP_LOCATION
Location of pip executable
Installation
pip install micromamba-install-locked-pip-dependencies
Without installation
curl https://raw.githubusercontent.com/maresb/micromamba-install-locked-pip-dependencies/master/micromamba_install_locked_pip_dependencies/cli.py | python - --help
License
micromamba-install-locked-pip-dependencies
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for micromamba_install_locked_pip_dependencies-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0868436e5517548ebcc39de4cf75e029059dc362d3216f023164047879f22f2 |
|
MD5 | dc2849e2427693d5f84c2baa0004e93f |
|
BLAKE2b-256 | 1467e14175015ff5e4ef24d0f0826424abe3678d0bd13bc0648f097f7255c645 |
Close
Hashes for micromamba_install_locked_pip_dependencies-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60263590ba59464b077238781d7b0caa523081ffa626bfdf0b4255c01fe993f |
|
MD5 | 0f9663d852ad2b46cb6e37ffb88f80d9 |
|
BLAKE2b-256 | 3d64b387b3d180a272bae04cfe84fe3bdf87c6c46eae8b711541821377da8484 |