https://bugs.documentfoundation.org/show_bug.cgi?id=171592

            Bug ID: 171592
           Summary: Feature request: Add an option to add paths to
                    PYTHONPATH for Python macros
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

If LibreOffice is bundled with its own Python build then it can be difficult to
install extra modules because the PYTHONPATH only points inside the LibreOffice
install.

One workaround suggested by Fernando Cabral on Telegram is to customise
sys.path after importing the sys module in the uno.py file.

There is also an extension for setting the Python path here:
https://extensions.libreoffice.org/en/extensions/show/41996

I think it might be nice to have an option directly in the LibreOffice settings
to add paths to PYTHONPATH.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to