Update version
This commit is contained in:
parent
0e750c0af0
commit
d2d60e7281
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
2
conf.py
2
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'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:l="http://libreoffice.org/extensions/description/2011">
|
||||
<identifier value="net.elmau.zaz.pip"/>
|
||||
<version value="0.10.2"/>
|
||||
<version value="1.0.0"/>
|
||||
<dependencies>
|
||||
<l:LibreOffice-minimal-version value="7.0"/>
|
||||
</dependencies>
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue