Metadata-Version: 2.1
Name: wheelbin
Version: 1.4.0
Summary: Compile all Python files inside a wheel to bytecode files
Home-page: https://github.com/molinav/wheelbin
Author: Grant Patten
Author-email: grant@gpatten.com
Maintainer: Víctor Molina García
Maintainer-email: molinav@users.noreply.github.com
License: MIT
Project-URL: Bug Tracker, https://github.com/molinav/wheelbin/issues
Project-URL: Source, https://github.com/molinav/wheelbin
Keywords: pyc,wheel,compile
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Utilities
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, <3.11
Description-Content-Type: text/markdown
Provides-Extra: lint
Provides-Extra: test
License-File: LICENSE

# wheelbin

`wheelbin` receives a wheel file and returns its compiled version,
i.e. an equivalent wheel file with the Python files substituted with
their corresponding Python bytecode files.

The output wheel filename reflects this compilation by fixing the Python
implementation, ABI and target architecture, and it replaces the
`.whl` extension with `.bin.whl`.

Additionally, Python files can be excluded from compilation by passing a
wildcard expression to the `--exclude` option.

`wheelbin` is a package forked from the original [`pycwheel`] by
Grant Patten.

## Usage

For example, given a wheel file `your_wheel-1.0.0-py3-none-any.whl`
and `wheelbin` installed on a GNU/Linux distribution under Python 3.7:

```sh
$ wheelbin your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-cp37-cp37m-linux_x86_64.bin.whl
```


[`pycwheel`]:
https://github.com/grantpatten/pycwheel


