From a316adedbca69c745e5a9a6465744956a1f20b70 Mon Sep 17 00:00:00 2001 From: Zoheb Shaikh Date: Thu, 5 Sep 2024 10:44:39 +0100 Subject: [PATCH] using ioc main options in pvxs --- python/pvxslibs/ioc.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 python/pvxslibs/ioc.py diff --git a/python/pvxslibs/ioc.py b/python/pvxslibs/ioc.py new file mode 100644 index 000000000..0897f980b --- /dev/null +++ b/python/pvxslibs/ioc.py @@ -0,0 +1,10 @@ +import os + +from epicscorelibs import ioc +import pvxslibs.path + +if __name__ == "__main__": + os.environ.setdefault("PVXS_QSRV_ENABLE", "YES") + pvxs_dbd_load = (("pvxsIoc.dbd", pvxslibs.path.dbd_path), ) + pvxs_dso_load = ("pvxslibs.lib.pvxsIoc", ) + ioc.main(extra_dbd_load=pvxs_dbd_load, extra_dso_load=pvxs_dso_load)