Translate pip requirements into conda requirements
Project description
pip2conda
pip2conda
is a tool to translate pip
-style requirements into conda
requirements.
pip2conda2
reads or generates the metadata for a project,
evaluating the build (if possible) and runtime requirements - including unpackging
extras and evaluating environment markers - before 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, or point
it at a wheel file for any project.
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
File details
Details for the file pip2conda-0.5.1.tar.gz
.
File metadata
- Download URL: pip2conda-0.5.1.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2478db48e4b5f92fd7171f25fda54d7b592bb70bca6611e5de0f0ac1c74b81 |
|
MD5 | 8728aea381a3da3c767bce136dd5c7e7 |
|
BLAKE2b-256 | ba52bfda65556035f40ce7300b7e28f06fc89c9e64eb68e48511e7da9074c938 |
File details
Details for the file pip2conda-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: pip2conda-0.5.1-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eafc0d85b3b8937d1bd6200ff50fef22bf66bed9e8f50d693a0d16dfed38af7 |
|
MD5 | ad831238685ffb1822f1aff610d3a6bc |
|
BLAKE2b-256 | e3a454c6d37509d837015208577f846d3d959a46b5e008833a07995c8eb7db3f |