从新式锁文件中安装pip依赖项
项目描述
micromamba-install-locked-pip-dependencies
目录
链接
简介
当前Micromamba忽略新式锁文件中的pip依赖项。此脚本解析锁文件并安装这些依赖项。
此脚本除了Python 3.6+之外没有其他依赖项。(它实现了自己的原始YAML解析器。)
用法
要从conda-lock.yml安装main类别的依赖项,只需运行micromamba-install-locked-pip-dependencies。
对于更高级的使用
$ 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
安装
pip install micromamba-install-locked-pip-dependencies
不安装
curl https://raw.githubusercontent.com/maresb/micromamba-install-locked-pip-dependencies/master/micromamba_install_locked_pip_dependencies/cli.py | python - --help
许可
micromamba-install-locked-pip-dependencies遵循MIT许可证的条款。
项目详情
关闭
micromamba_install_locked_pip_dependencies-1.0.2.tar.gz 的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b0868436e5517548ebcc39de4cf75e029059dc362d3216f023164047879f22f2 |
|
MD5 | dc2849e2427693d5f84c2baa0004e93f |
|
BLAKE2b-256 | 1467e14175015ff5e4ef24d0f0826424abe3678d0bd13bc0648f097f7255c645 |
关闭
micromamba_install_locked_pip_dependencies-1.0.2-py3-none-any.whl 的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | a60263590ba59464b077238781d7b0caa523081ffa626bfdf0b4255c01fe993f |
|
MD5 | 0f9663d852ad2b46cb6e37ffb88f80d9 |
|
BLAKE2b-256 | 3d64b387b3d180a272bae04cfe84fe3bdf87c6c46eae8b711541821377da8484 |