From d2d60e72817bd36e699da2ef90721a3a65883bf8 Mon Sep 17 00:00:00 2001 From: El Mau Date: Sun, 5 Nov 2023 21:30:39 -0600 Subject: [PATCH] Update version --- CHANGELOG | 9 +++++++++ README.md | 5 +++++ VERSION | 2 +- conf.py | 2 +- source/description.xml | 2 +- source/pip_runner.py | 7 ++++--- 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0fe38fe..0fcf0a7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,12 @@ +v 1.0.0 [05-nov-2023] + - Thanks to https://git.cuates.net/AmourSpirit zaz-pip now work in: + * Mac Os + * Windows + * Linux, sudo installed LibreOffice + * Linux, Snap installed LibreOffice + * Linux, Flatpak installed LibreOffice + * Linux, AppImage LibreOffice + v 0.10.2 [22-apr-2022] - Fix - issue #10 diff --git a/README.md b/README.md index 7bc6a24..65250f3 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,11 @@ SWIFT / BIC: TRWIBEB1XXX * [Mira la wiki](https://git.cuates.net/elmau/zaz-pip/wiki/home_es) +Thanks for code: + +* @AmourSpirit + + Thanks for translations: * English - @LibreOfficiant diff --git a/VERSION b/VERSION index 42624f3..afaf360 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.2 \ No newline at end of file +1.0.0 \ No newline at end of file diff --git a/conf.py b/conf.py index 78f0c2b..baef879 100644 --- a/conf.py +++ b/conf.py @@ -26,7 +26,7 @@ import logging TYPE_EXTENSION = 1 # ~ https://semver.org/ -VERSION = '0.10.2' +VERSION = '1.0.0' # ~ Your great extension name, not used spaces NAME = 'ZAZPip' diff --git a/source/description.xml b/source/description.xml index c87fc3a..87c4097 100644 --- a/source/description.xml +++ b/source/description.xml @@ -1,7 +1,7 @@ - + diff --git a/source/pip_runner.py b/source/pip_runner.py index a01bbfc..c7c253e 100644 --- a/source/pip_runner.py +++ b/source/pip_runner.py @@ -21,9 +21,10 @@ implementation_services = ("com.sun.star.task.Job",) # endregion Constants - + # region XJob class PipRunner(unohelper.Base, XJob): + def __init__(self, ctx): self._is_flatpak = bool(os.getenv("FLATPAK_ID", "")) if self._is_flatpak: @@ -31,10 +32,10 @@ class PipRunner(unohelper.Base, XJob): ss = str(site_packages) if site_packages.exists() and ss not in sys.path: sys.path.append(ss) - + def execute(self, *args: Tuple[NamedValue, ...]) -> None: pass - + def get_flatpak_site_packages_dir(self) -> Path: # should never be all users sand_box = os.getenv("FLATPAK_SANDBOX_DIR", "") or str(