Translate pip requirements into conda requirements
Project description
pip2conda
pip2conda
is a tool to translate pip
-style requirements into conda
requirements.
pip2conda
parses build requirements from pyproject.toml
files, then
runtime and extra requirements from setup.cfg
, including unpackging extras and
evaluating environment markers, before matching translating each requirement
into a conda-forge requirement suitable for installation with conda/mamba
.
Installation
For best results, please install from conda-forge:
conda install -c conda-forge pip2conda
You can also install directly from PyPI:
python -m pip install pip2conda
Basic Usage
Just execute pip2conda
from the base of your project directory.
For example, running pip2conda
in the base directory for its own
project repository does this:
$ pip2conda
grayskull
packaging>=20.0
python=3.9.*
requests
setuptools
setuptools>=42
setuptools_scm>=3.4
tomli
tomli>=1.0.0
wheel
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
Hashes for pip2conda-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee7959be5ab93fa662fab868027e66044c0ea948758c8d40549fd1dc3f58e33 |
|
MD5 | c612b27fac62d6e0c80c56364ba6a305 |
|
BLAKE2b-256 | 0d1e7fb9e9717b7ee6644920dd748d66a5e9fde41315ca5770c617f9dca817ea |