https://github.com/tibdex/python-wheel-to-conda-package
Convert a Pure-Python Wheel to a noarch Conda package
https://github.com/tibdex/python-wheel-to-conda-package
conda conda-package python-wheel wheel
Last synced: 2 months ago
JSON representation
Convert a Pure-Python Wheel to a noarch Conda package
- Host: GitHub
- URL: https://github.com/tibdex/python-wheel-to-conda-package
- Owner: tibdex
- License: mit
- Created: 2023-01-25T04:52:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T20:14:40.000Z (9 months ago)
- Last Synced: 2025-03-28T19:44:57.578Z (3 months ago)
- Topics: conda, conda-package, python-wheel, wheel
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Wheel to Conda package
This converts a Pure-Python Wheel to a noarch Conda package.
This tool can be used to replace `conda build` which can sometimes be very slow.
[`setup.py bdist_conda`](https://docs.conda.io/projects/conda-build/en/latest/user-guide/recipes/build-without-recipe.html) can build a Conda package without a recipe but it relies on conda-build behind the scenes and thus suffers from the same slowness.## Usage
### As a library
```python
from python_wheel_to_conda_package import python_wheel_to_conda_packageconda_package_path = python_wheel_to_conda_package(wheel_path, output_directory=some_directory)
```### As a command line tool
```console
$ python-wheel-to-conda-package test_lib-0.4.2.dev0-42_1337gg-py3-none-any.whl --output-directory /a/b/c/
/a/b/c/test-lib-0.4.2.dev0-1337gg.tar.bz2
```