From 8cac827375d1bd7c0c5e49f289ea11ab8195dcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Carrillo?= Date: Mon, 20 May 2024 09:51:06 -0500 Subject: [PATCH] Add __init__.py to libs/ so that QGIS understands we've got a subpackage in libs and can reload it when reloading or upgrading the plugin --- .github/workflows/plugin-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/plugin-package.yml b/.github/workflows/plugin-package.yml index af8ea5c..b70df4f 100644 --- a/.github/workflows/plugin-package.yml +++ b/.github/workflows/plugin-package.yml @@ -49,6 +49,8 @@ jobs: pip download -r requirements.txt --only-binary :all: -d temp/ unzip -o "temp/*.whl" -d pg_service_parser/libs rm -r temp + # To let QGIS know we've got subpackages in libs + touch pg_service_parser/libs/__init__.py # set write rights to group (because qgis-plugin-ci needs it) chmod -R g+w pg_service_parser/libs