If python had a package management, I would hate it.

This commit is contained in:
saces 2026-03-03 20:33:03 +01:00
parent 8a5bebb254
commit 2eec7b4f5e
8 changed files with 67 additions and 92 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/python
import os
import sys
from cffi import FFI
@ -6,8 +7,8 @@ lib_list = [
"mxclient",
]
if len(sys.argv) > 1:
lib_list += sys.argv[1:]
if os.getenv("PYGOMX_LINK_OLM"):
lib_list += ["olm"]
print(f"liblist: {lib_list}")