auditwheel-like tool for Pyodide
Project description
auditwheel-emscripten
auditwheel-like tool for Pyodide
Usage
$ pip install auditwheel-emscripten
Usage: pyodide audit [OPTIONS] COMMAND [ARGS]...
Auditwheel-like tool for emscripten wheels and shared libraries.
╭─ Options ───────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────╮
│ copy Copy shared libraries to the wheel directory. Similar to repair but does not modify the needed section of WASM module.
│ repair [Experimental] Repair a wheel file: copy shared libraries to the wheel directory and modify the path in the wheel file.
│ show Show shared library dependencies of a wheel of a shared library file.
╰───────────────────────────────────────────────────────────────────────────────────╯
# wget https://cdn.jsdelivr.net/pyodide/v0.21.3/full/Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl
$ pyodide audit show Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl
The following external shared libraries are required:
{
│ 'shapely/speedups/_speedups.cpython-310-wasm32-emscripten.so': ['libgeos_c.so'],
│ 'shapely/vectorized/_vectorized.cpython-310-wasm32-emscripten.so': ['libgeos_c.so']
}
$ pyodide audit copy --libdir <directory which contains libgeos_c.so> Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl
Repaired wheel has following external shared libraries:
{
│ 'Shapely.libs/libgeos.so.3.10.3': [],
│ 'Shapely.libs/libgeos_c.so': ['libgeos.so.3.10.3'],
│ 'shapely/speedups/_speedups.cpython-310-wasm32-emscripten.so': ['libgeos_c.so'],
│ 'shapely/vectorized/_vectorized.cpython-310-wasm32-emscripten.so': ['libgeos_c.so']
}
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for auditwheel_emscripten-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c2ab14fe2891939fb265a44cb613dc108af1e6003b5b81bc07d9172a4f982a |
|
MD5 | 329ea0136970233de7c46fb24e7a58ea |
|
BLAKE2b-256 | be20e630d401ea9629103e004fa9c5acb5c1a8b767703fb5c9c94dd486271867 |
Close
Hashes for auditwheel_emscripten-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e54af91180a8b6d8d3534f289584019ed46ea487bfd9c12b4a759a1b70f04f9c |
|
MD5 | c7a0603955ec800d8213e00504b7d0ea |
|
BLAKE2b-256 | bb48651471113848731546f60bb7482803663f824a7296284b137f6fd32dde98 |