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.
Release files for micromamba-install-locked-pip-dependencies 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| micromamba_install_locked_pip_dependencies-1.0.2.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micromamba_install_locked_pip_dependencies-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / micromamba_install_locked_pip_dependencies-1.0.2.tar.gz
| Download URL | micromamba_install_locked_pip_dependencies-1.0.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0868436e5517548ebcc39de4cf75e029059dc362d3216f023164047879f22f2
|
|
BLAKE2b-256 checksum How to use checksums |
1467e14175015ff5e4ef24d0f0826424abe3678d0bd13bc0648f097f7255c645
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Release files / micromamba_install_locked_pip_dependencies-1.0.2-py3-none-any.whl
| Download URL | micromamba_install_locked_pip_dependencies-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a60263590ba59464b077238781d7b0caa523081ffa626bfdf0b4255c01fe993f
|
|
BLAKE2b-256 checksum How to use checksums |
3d64b387b3d180a272bae04cfe84fe3bdf87c6c46eae8b711541821377da8484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|