Translate pip requirements into conda requirements
Project description
pip2conda
pip2conda
is a tool to translate pip
-style requirements into conda
requirements.
pip2conda2
uses build
to generate
the metadata for a project, and then parses out the build and
runtime requirements for the project - 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
build
grayskull>=1.0.0
packaging
python>=3.10
requests
ruamel.yaml
setuptools-scm>=3.4.3
setuptools>=61.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.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1905beb601e12f3fa10e041d6b7aca6061aa446ae8a63f74f88a0c0a65730601 |
|
MD5 | 4365bd4771d29a5a2342b92de1183540 |
|
BLAKE2b-256 | 39ade8c497335ec3f91a5d27be473ba8135204a96b3feaeacfe8b956395b977c |