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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf3064d03a52a7298a00839b18f71b8569d913050b04307cd81cc15b8cd20d5d |
|
MD5 | d1c45b16ded623240c0879a5b8d4801e |
|
BLAKE2b-256 | 4eeb9b91534a65047e220ab760a0a460d56f5f194e8acaec21f9f073ef656abf |
Close
Hashes for micromamba_install_locked_pip_dependencies-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb7af8502a6c6935afcce626eb262e8b04fabaaf92697fa4b8f50e4ebfe90cf |
|
MD5 | 8c3a7920256a068f0da9c3fd1f243059 |
|
BLAKE2b-256 | bf7b72b47c1c376f4b704877c9ef67af5dffb3120f4d037edd3b060914e9fafb |