/python-wheel-to-conda-package

Convert a Pure-Python Wheel to a noarch Conda package

Primary LanguagePythonMIT LicenseMIT

Package version

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 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

from python_wheel_to_conda_package import python_wheel_to_conda_package

conda_package_path = python_wheel_to_conda_package(wheel_path, output_directory=some_directory)

As a command line tool

$ 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