Compile all Python files inside a wheel to bytecode files
Project description
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:
$ wheelbin your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-cp37-cp37m-linux_x86_64.bin.whl
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for wheelbin-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3fbc6027d17a6f9dafeea41de2513c1e741453e1ab3020e960460cc7dc91d53 |
|
MD5 | 6f56f8451864595bde41da2b6455d499 |
|
BLAKE2b-256 | 16bc40ae45aa7b81313c0106b6b044334f1fd7180cd0aa9dffd4b2038b3ef1a1 |