mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-30 23:05:48 +00:00
40e2d5fcb6
The bindings are implemented via python-cffi and cover all current functionality of the library. They do not provide a 1-to-1 mapping of the functionality, but a more "Pythonic" API instead. When new functionality is added to the libcpuid library in the future, the changes must be manually added to the bindings in order to appear in the Python interface. However, if only a C enum is extended, the changes will be automatically reflected in the Python interface.
5 lines
99 B
Python
5 lines
99 B
Python
from setuptools import setup
|
|
|
|
setup(
|
|
cffi_modules=["src/libcpuid/_ffi_build.py:ffibuilder"],
|
|
)
|