omdev 0.0.0.dev392__py3-none-any.whl → 0.0.0.dev394__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.
- omdev/.manifests.json +11 -0
- omdev/cli/main.py +5 -2
- omdev/manifests/__init__.py +0 -1
- omdev/manifests/_dumping.py +1586 -0
- omdev/manifests/{build.py → building.py} +142 -56
- omdev/manifests/dumping.py +109 -73
- omdev/manifests/main.py +11 -10
- omdev/precheck/manifests.py +1 -1
- omdev/tools/git/messages.py +2 -2
- {omdev-0.0.0.dev392.dist-info → omdev-0.0.0.dev394.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev392.dist-info → omdev-0.0.0.dev394.dist-info}/RECORD +15 -14
- {omdev-0.0.0.dev392.dist-info → omdev-0.0.0.dev394.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev392.dist-info → omdev-0.0.0.dev394.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev392.dist-info → omdev-0.0.0.dev394.dist-info}/licenses/LICENSE +0 -0
- {omdev-0.0.0.dev392.dist-info → omdev-0.0.0.dev394.dist-info}/top_level.txt +0 -0
omdev/.manifests.json
CHANGED
@@ -122,6 +122,17 @@
|
|
122
122
|
}
|
123
123
|
}
|
124
124
|
},
|
125
|
+
{
|
126
|
+
"module": ".manifests.tests.packages.foo.fargles",
|
127
|
+
"attr": "_SIMPLE_THINGY",
|
128
|
+
"file": "omdev/manifests/tests/packages/foo/fargles.py",
|
129
|
+
"line": 4,
|
130
|
+
"value": {
|
131
|
+
"$.manifests.tests.packages.foo.thingies.manifests.SimpleThingyManifest": {
|
132
|
+
"what": "fargles"
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
125
136
|
{
|
126
137
|
"module": ".precheck.__main__",
|
127
138
|
"attr": "_CLI_MODULE",
|
omdev/cli/main.py
CHANGED
@@ -13,7 +13,7 @@ import typing as ta
|
|
13
13
|
|
14
14
|
from omlish import check
|
15
15
|
from omlish.lite.cached import cached_nullary
|
16
|
-
from omlish.manifests.
|
16
|
+
from omlish.manifests.globals import MANIFEST_LOADER
|
17
17
|
|
18
18
|
from .types import CliCmd
|
19
19
|
from .types import CliFunc
|
@@ -183,7 +183,10 @@ def _build_arg_parser() -> argparse.ArgumentParser:
|
|
183
183
|
|
184
184
|
|
185
185
|
def _build_cmd_set(args: ta.Any) -> CliCmdSet:
|
186
|
-
ldr =
|
186
|
+
ldr = MANIFEST_LOADER.from_entry_point(
|
187
|
+
globals(),
|
188
|
+
cls_instantiator=MANIFEST_LOADER.instantiate_cls,
|
189
|
+
)
|
187
190
|
|
188
191
|
#
|
189
192
|
|
omdev/manifests/__init__.py
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
# @omlish-lite
|