python: expose FEATURES variable

This commit is contained in:
Maxim Devaev
2025-02-08 00:25:17 +02:00
parent 5baf921660
commit f3e0613de3
3 changed files with 35 additions and 5 deletions

View File

@@ -325,6 +325,7 @@ PyMODINIT_FUNC PyInit_ustreamer(void) {
ADD(StringConstant, "VERSION", US_VERSION);
ADD(IntConstant, "VERSION_MAJOR", US_VERSION_MAJOR);
ADD(IntConstant, "VERSION_MINOR", US_VERSION_MINOR);
ADD(StringConstant, "FEATURES", US_FEATURES); // Defined in setup.py
ADD(ObjectRef, "Memsink", (PyObject*)&_MemsinkType);
# undef ADD
return module;