oqtopus 0.1.20__tar.gz → 0.1.21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oqtopus-0.1.20 → oqtopus-0.1.21}/PKG-INFO +4 -4
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/project_widget.py +18 -5
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus.egg-info/PKG-INFO +4 -4
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus.egg-info/SOURCES.txt +1 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus.egg-info/requires.txt +3 -3
- {oqtopus-0.1.20 → oqtopus-0.1.21}/pyproject.toml +4 -9
- oqtopus-0.1.21/requirements.txt +6 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/LICENSE +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/README.md +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/__init__.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/core/module.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/core/module_asset.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/core/module_package.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/core/modules_config.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/core/package_prepare_task.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/__init__.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/about_dialog.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/database_connection_widget.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/database_create_dialog.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/database_duplicate_dialog.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/logs_widget.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/main_dialog.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/module_selection_widget.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/module_widget.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/parameters_groupbox.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/plugin_widget.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/gui/settings_dialog.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/oqtopus.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/oqtopus_plugin.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/__init__.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/about_dialog.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/database_connection_widget.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/database_create_dialog.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/database_duplicate_dialog.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/logs_widget.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/main_dialog.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/module_selection_widget.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/module_widget.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/plugin_widget.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/project_widget.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/ui/settings_dialog.ui +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/utils/__init__.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/utils/plugin_utils.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/utils/qt_utils.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/utils/tmmtlogging.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus/utils/translation.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus.egg-info/dependency_links.txt +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/oqtopus.egg-info/top_level.txt +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/setup.cfg +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/tests/__init__.py +0 -0
- {oqtopus-0.1.20 → oqtopus-0.1.21}/tests/test_plugin_load.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oqtopus
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.21
|
|
4
4
|
Summary: A QGIS module manager
|
|
5
5
|
Author-email: Damiano Lombardi <damiano@opengis.ch>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -346,9 +346,9 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
346
346
|
Requires-Python: >=3.8
|
|
347
347
|
Description-Content-Type: text/markdown
|
|
348
348
|
License-File: LICENSE
|
|
349
|
-
Requires-Dist:
|
|
350
|
-
Requires-Dist:
|
|
351
|
-
Requires-Dist:
|
|
349
|
+
Requires-Dist: pgserviceparser<3.0.0,>=2.4.0
|
|
350
|
+
Requires-Dist: pum<2.0.0,>=1.1.13
|
|
351
|
+
Requires-Dist: PyYAML
|
|
352
352
|
Requires-Dist: pydantic>=2.0
|
|
353
353
|
Requires-Dist: psycopg<4.0.0,>=3.1.0
|
|
354
354
|
Requires-Dist: requests<3.0.0,>=2.31.0
|
|
@@ -27,12 +27,20 @@ class ProjectWidget(QWidget, DIALOG_UI):
|
|
|
27
27
|
|
|
28
28
|
def setModulePackage(self, module_package: ModulePackage):
|
|
29
29
|
self.__current_module_package = module_package
|
|
30
|
-
self.
|
|
30
|
+
self.__updateProjectFilename()
|
|
31
31
|
|
|
32
32
|
def setService(self, service):
|
|
33
33
|
self.__current_service = service
|
|
34
|
+
self.__updateProjectFilename()
|
|
35
|
+
|
|
36
|
+
def __updateProjectFilename(self):
|
|
37
|
+
|
|
38
|
+
if self.__current_module_package is None:
|
|
39
|
+
self.project_info_label.setText(self.tr("No module package selected."))
|
|
40
|
+
QtUtils.setForegroundColor(self.project_info_label, PluginUtils.COLOR_WARNING)
|
|
41
|
+
QtUtils.setFontItalic(self.project_info_label, True)
|
|
42
|
+
return
|
|
34
43
|
|
|
35
|
-
def __packagePrepareGetProjectFilename(self):
|
|
36
44
|
asset_project = self.__current_module_package.asset_project
|
|
37
45
|
if asset_project is None:
|
|
38
46
|
self.project_info_label.setText(
|
|
@@ -73,9 +81,14 @@ class ProjectWidget(QWidget, DIALOG_UI):
|
|
|
73
81
|
|
|
74
82
|
QtUtils.resetForegroundColor(self.project_info_label)
|
|
75
83
|
QtUtils.setFontItalic(self.project_info_label, False)
|
|
76
|
-
self.
|
|
77
|
-
|
|
78
|
-
|
|
84
|
+
if self.__current_service:
|
|
85
|
+
self.project_info_label.setText(
|
|
86
|
+
f"Project will use PG Service '{self.__current_service}' for database connection"
|
|
87
|
+
)
|
|
88
|
+
else:
|
|
89
|
+
self.project_info_label.setText(
|
|
90
|
+
"Project will use the default service. Please set a service in the database connection tab if you need a specific one."
|
|
91
|
+
)
|
|
79
92
|
|
|
80
93
|
def __projectInstallClicked(self):
|
|
81
94
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oqtopus
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.21
|
|
4
4
|
Summary: A QGIS module manager
|
|
5
5
|
Author-email: Damiano Lombardi <damiano@opengis.ch>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -346,9 +346,9 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
346
346
|
Requires-Python: >=3.8
|
|
347
347
|
Description-Content-Type: text/markdown
|
|
348
348
|
License-File: LICENSE
|
|
349
|
-
Requires-Dist:
|
|
350
|
-
Requires-Dist:
|
|
351
|
-
Requires-Dist:
|
|
349
|
+
Requires-Dist: pgserviceparser<3.0.0,>=2.4.0
|
|
350
|
+
Requires-Dist: pum<2.0.0,>=1.1.13
|
|
351
|
+
Requires-Dist: PyYAML
|
|
352
352
|
Requires-Dist: pydantic>=2.0
|
|
353
353
|
Requires-Dist: psycopg<4.0.0,>=3.1.0
|
|
354
354
|
Requires-Dist: requests<3.0.0,>=2.31.0
|
|
@@ -8,21 +8,13 @@ build-backend = "setuptools.build_meta"
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "oqtopus"
|
|
10
10
|
description = "A QGIS module manager"
|
|
11
|
-
dynamic = ["version"]
|
|
11
|
+
dynamic = ["version", "dependencies"]
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.8"
|
|
14
14
|
license = { file = "LICENSE" }
|
|
15
15
|
authors = [
|
|
16
16
|
{ name="Damiano Lombardi", email="damiano@opengis.ch" }
|
|
17
17
|
]
|
|
18
|
-
dependencies = [
|
|
19
|
-
"pyyaml",
|
|
20
|
-
"pgserviceparser>=2.3.0,<3.0.0",
|
|
21
|
-
"pum>=1.1.2,<2.0.0",
|
|
22
|
-
"pydantic>=2.0",
|
|
23
|
-
"psycopg>=3.1.0,<4.0.0",
|
|
24
|
-
"requests>=2.31.0,<3.0.0"
|
|
25
|
-
]
|
|
26
18
|
|
|
27
19
|
[tool.setuptools.packages.find]
|
|
28
20
|
where = ["."]
|
|
@@ -33,3 +25,6 @@ starting_version = "0.0.1"
|
|
|
33
25
|
|
|
34
26
|
[tool.setuptools.package-data]
|
|
35
27
|
"oqtopus" = ["**/*.ui"]
|
|
28
|
+
|
|
29
|
+
[tool.setuptools.dynamic]
|
|
30
|
+
dependencies = {file = ["requirements.txt"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|