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 Distribution
Built Distribution
File details
Details for the file wheelbin-1.4.1.zip
.
File metadata
- Download URL: wheelbin-1.4.1.zip
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88af94678b3209e08eec7b2cb3f282ec9e03245799de51297dde0198df33b6cf |
|
MD5 | 6eff3a18a2c00f35116584c3746bb352 |
|
BLAKE2b-256 | e927d5a69ee59b9337d2c14772e3a1a32662570e8284118c399767d9d9d501c4 |
File details
Details for the file wheelbin-1.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: wheelbin-1.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6384d29c59041e45a0830d144da892a7290142fac0e20da1ece27a585ae4e02d |
|
MD5 | e79cd0e7082b2d1b1a20e767e35fd211 |
|
BLAKE2b-256 | 6718a89cc09445723dddcf8d8482a05b57dda298a3337e2a76407fce848feaca |