pluginify 0.1.0.post11.dev0__py3-none-any.whl → 1.19.1a0__py3-none-any.whl
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.
- pluginify/_version.py +2 -2
- pluginify/create_plugin_registries.py +12 -0
- {pluginify-0.1.0.post11.dev0.dist-info → pluginify-1.19.1a0.dist-info}/METADATA +1 -1
- {pluginify-0.1.0.post11.dev0.dist-info → pluginify-1.19.1a0.dist-info}/RECORD +7 -7
- {pluginify-0.1.0.post11.dev0.dist-info → pluginify-1.19.1a0.dist-info}/WHEEL +1 -1
- {pluginify-0.1.0.post11.dev0.dist-info → pluginify-1.19.1a0.dist-info}/entry_points.txt +0 -0
- {pluginify-0.1.0.post11.dev0.dist-info → pluginify-1.19.1a0.dist-info}/licenses/LICENSE +0 -0
pluginify/_version.py
CHANGED
|
@@ -957,6 +957,18 @@ def add_class_plugin(package, relpath, plugins):
|
|
|
957
957
|
at relpath '{relpath}'\n"""
|
|
958
958
|
return error_message
|
|
959
959
|
|
|
960
|
+
# If interface is None, then legitimately skip the module.
|
|
961
|
+
# We want to skip this first, before we test anything else.
|
|
962
|
+
# If it is not a plugin, we don't care if there are other
|
|
963
|
+
# errors in it at this stage (ie, avoid unnecessary unrelated
|
|
964
|
+
# catastrophic failures)
|
|
965
|
+
if hasattr(module, "interface") and module.interface is None:
|
|
966
|
+
LOG.info(
|
|
967
|
+
f"Skipping module '{module_name}' from '{package}', "
|
|
968
|
+
"interface_name is 'None'"
|
|
969
|
+
)
|
|
970
|
+
return error_message
|
|
971
|
+
|
|
960
972
|
# We've encountered a truly 'class-based' plugin. I.e. we don't need to generate
|
|
961
973
|
# the plugin object from the module itself. Collect metadata from this plugin
|
|
962
974
|
# in a different fashion to what we've done previously.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
pluginify/__init__.py,sha256=NvdicJtfy-dZZ8tWjR74lDBHGV6rlaH8pAJ7UHyTTog,391
|
|
2
|
-
pluginify/_version.py,sha256=
|
|
2
|
+
pluginify/_version.py,sha256=nZTyD4wnpMdyFPPuxp9EDVWoKgdgtkRJRzmvRDVTDRk,217
|
|
3
3
|
pluginify/commandline_typer.py,sha256=g_pT1V8xwAF9KK-ndE-ydIYk2ivZYoO24PBW80CjsoM,11257
|
|
4
4
|
pluginify/config.py,sha256=co4HkXsOrA68M0PlRaUAhz5KMp5pa60ssb7DwLvUuxk,4894
|
|
5
|
-
pluginify/create_plugin_registries.py,sha256=
|
|
5
|
+
pluginify/create_plugin_registries.py,sha256=TTYwRd2gxvsMV1l_1nTat_zkAIHTjHJZIoAwdRtcHtg,49447
|
|
6
6
|
pluginify/errors.py,sha256=kkdipLfxvj8f-Pp53SD3RPnD9QS3samBLlQBjBskZP8,373
|
|
7
7
|
pluginify/interfaces/__init__.py,sha256=XcPl52V8oMihP7NoRs_NgbiIvqoL3A4YeyfTOp3NqBA,329
|
|
8
8
|
pluginify/interfaces/base.py,sha256=ubimAsOgAXCyhKhn40-a1HIfrjMPqHtKr4rBnwm645M,26724
|
|
@@ -16,8 +16,8 @@ pluginify/pydantic_models/v1/configs.py,sha256=As15amNtdFwAobufh0d6mDlF3mMS23Thw
|
|
|
16
16
|
pluginify/utils/__init__.py,sha256=gdy4E4yEI9lrHbWPeBn0Bspj7iz4z6r8BAjbmHf_hpM,2088
|
|
17
17
|
pluginify/utils/context_managers.py,sha256=1-bREbijNNc5PrqMIihKqxlxNaK-YZ3hj5XGpHiYmfw,926
|
|
18
18
|
pluginify/utils/validators.py,sha256=gCESprY4mZgE0KXigjsgHOipjZAg8OUF5n3-SGQ7PG4,7577
|
|
19
|
-
pluginify-
|
|
20
|
-
pluginify-
|
|
21
|
-
pluginify-
|
|
22
|
-
pluginify-
|
|
23
|
-
pluginify-
|
|
19
|
+
pluginify-1.19.1a0.dist-info/METADATA,sha256=cGDrfw55CNoW1vEbbv0_m--EUKzKRpCqc93o4-a5Z1A,2156
|
|
20
|
+
pluginify-1.19.1a0.dist-info/WHEEL,sha256=eY7nduwzv-ldUxpzbRlxwvC693Hg6PX8bWDjEHjZ_dk,88
|
|
21
|
+
pluginify-1.19.1a0.dist-info/entry_points.txt,sha256=kCm7HOEEzSnPyDpy98W-LYYmlLYyTnRqOj40UqxX6-w,111
|
|
22
|
+
pluginify-1.19.1a0.dist-info/licenses/LICENSE,sha256=sIBqTiU78gw5bC9MZMySNxzCE7DIlOcDqUWdmflkDsY,7266
|
|
23
|
+
pluginify-1.19.1a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|