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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4772be778ce18d2459389a31f97760602801836c3068c965d411dcfe1dba118a |
|
MD5 | 8a76af9f03e0bc46b8a2d3990d69d765 |
|
BLAKE2b-256 | 30c93adc73f58c6453a13d82288fa6391e359d6e0e73c97407598aef8c271dbd |
Close
Hashes for micromamba_install_locked_pip_dependencies-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f9532e2568b222ac4d1b9335935712145a9223330945ef4a6a7abddb4a2a89 |
|
MD5 | 13b12db91de91b5f454a13a608df4df0 |
|
BLAKE2b-256 | afc40f7aa27c21a9048e4fa06660504cfd3b77ddc50a101e1d6f891585ec536f |