diff options
author | Hossein <hossein@libreoffice.org> | 2023-11-24 18:45:47 +0000 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2024-01-16 10:54:20 +0100 |
commit | b9a36edc6d435cb1b4bf8e950cd4dc49ecead2bc (patch) | |
tree | 13694facbc8273437b895d11aaeecdb0011ad7cf /odk/CustomTarget_build-examples.mk | |
parent | 1bddc6ad3d1f233095ca0b475cb4b646fb9e508b (diff) |
Add a minimal Python extension
This is a minimal Python extension. It is possible to run main.py from:
1. Inside a LibreOffice extension
2. Inside LibreOffice, and also via APSO
3. Outside LibreOffice, as an external process, and also in a Python IDE
The provided Python script is very useful for debugging extensions as an
example. That is because it is possible to debug it in an IDE before
packaging it as a LibreOffice extension.
Python file is checked with:
$ flake8 --ignore E501 main.py
Change-Id: I24d9aefdfda29264bf6b5f9403a40fae35e610f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159938
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'odk/CustomTarget_build-examples.mk')
-rw-r--r-- | odk/CustomTarget_build-examples.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odk/CustomTarget_build-examples.mk b/odk/CustomTarget_build-examples.mk index 4a725ad78846..dd5a2e58732e 100644 --- a/odk/CustomTarget_build-examples.mk +++ b/odk/CustomTarget_build-examples.mk @@ -28,6 +28,7 @@ my_example_dirs = \ cpp/counter \ cpp/remoteclient \ python/toolpanel \ + python/minimal-extension \ # cpp/custompanel \ |