mirror of
https://github.com/loot/libloot-python.git
synced 2026-07-27 14:14:13 -07:00
ffd62f9e0c7a9bf6c353d998395362aea52d3097
So that the wrapper library can be installed with `pip install <archive>`. The setup.py is Windows-specific, but CI only produces Windows builds so that's not currently an issue. The __init__.py re-exports the .pyd module so that the .pyd and .dll can be installed into a subdirectory of site-packages for neatness, and so that the installed module isn't just to work around pip install being unable to install a pyd with no package.
LOOT API Python Module
A Python module that wraps libloot, generated by pybind11. Not everything in the API is exposed: coverage can be extended on request (or by pull request).
Downloads
Snapshot builds are available on Bintray. The snapshot build archives are named like so:
loot_api_python-<short revision ID>-python<python version>-win<architecture>.zip
For example loot_api_python-94de368-python2.7-win32.zip was built using the revision with shortened commit ID 94de368.
Documentation
The documentation can be found online at Read The Docs.
Build Instructions
The module's build system uses CMake and requires Python. Make sure they're installed, then run CMake, and build the generated solution file.
Only Windows support has been tested, though Linux builds should also be possible.
Languages
C++
51.1%
Python
28%
CMake
20.9%