--- uno-old.py 2017-06-01 07:52:12.436666663 +0100 +++ uno.py 2017-06-06 08:28:33.229999990 +0100 @@ -16,8 +16,14 @@ # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # -import pyuno + +# Special modification to make uno load on Arch +import os import sys +sys.path.append("/usr/lib/libreoffice/program/") +os.putenv("URE_BOOTSTRAP", "vnd.sun.start.pathname:/usr/lib/libreoffice/program/fundamentalrc") + +import pyuno import traceback import warnings