orionis 0.27.0__py3-none-any.whl → 0.28.0__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.
- orionis/framework.py +1 -1
- orionis/luminate/bootstrap/commands/bootstrapper.py +4 -2
- {orionis-0.27.0.dist-info → orionis-0.28.0.dist-info}/METADATA +1 -1
- {orionis-0.27.0.dist-info → orionis-0.28.0.dist-info}/RECORD +8 -8
- {orionis-0.27.0.dist-info → orionis-0.28.0.dist-info}/LICENCE +0 -0
- {orionis-0.27.0.dist-info → orionis-0.28.0.dist-info}/WHEEL +0 -0
- {orionis-0.27.0.dist-info → orionis-0.28.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.27.0.dist-info → orionis-0.28.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
@@ -65,7 +65,7 @@ class Bootstrapper(IBootstrapper):
|
|
65
65
|
# Define the command directories to search
|
66
66
|
command_dirs = [
|
67
67
|
base_path / "app" / "console" / "commands",
|
68
|
-
pathlib.Path(__file__).resolve().parent.parent / "console" / "commands"
|
68
|
+
pathlib.Path(__file__).resolve().parent.parent.parent / "console" / "commands"
|
69
69
|
]
|
70
70
|
|
71
71
|
# Iterate over each command directory
|
@@ -84,10 +84,12 @@ class Bootstrapper(IBootstrapper):
|
|
84
84
|
|
85
85
|
# Convert file path to a Python module import path
|
86
86
|
module_path = ".".join(file_path.relative_to(base_path).with_suffix("").parts)
|
87
|
+
if 'site-packages.' in module_path:
|
88
|
+
module_path = module_path.split('site-packages.')[1]
|
87
89
|
|
88
90
|
try:
|
89
91
|
# Dynamically import the module
|
90
|
-
module = importlib.import_module(module_path)
|
92
|
+
module = importlib.import_module(module_path.strip())
|
91
93
|
|
92
94
|
# Find classes that inherit from `BaseCommand`
|
93
95
|
for name, obj in inspect.getmembers(module, inspect.isclass):
|
@@ -1,11 +1,11 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/cli_manager.py,sha256=9wNVJxB0HyqUbNesUvkwlsqTyUbZwK6R46iVLE5WVBQ,1715
|
3
|
-
orionis/framework.py,sha256=
|
3
|
+
orionis/framework.py,sha256=WHstU04TC0Eu1ERcwcS3aezpOkpNEpwej2zUM870jns,1386
|
4
4
|
orionis/luminate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
orionis/luminate/app.py,sha256=fh5p0w5VBb0zJ6qKNHOCs2vxIix6AborENZFW_GCvrw,152
|
6
6
|
orionis/luminate/bootstrap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
orionis/luminate/bootstrap/cli_exception.py,sha256=wDKfEW295c7-bavr7YUHK2CLYcTSZgjT9ZRSBne6GOE,1356
|
8
|
-
orionis/luminate/bootstrap/commands/bootstrapper.py,sha256=
|
8
|
+
orionis/luminate/bootstrap/commands/bootstrapper.py,sha256=TuXuQUzeaiDL8sJyZNdqnFl2h2MfxcnSU045IeIKVQE,4016
|
9
9
|
orionis/luminate/bootstrap/commands/register.py,sha256=YonMvfe1TQBVPLxqM7o7_mYaXPKoXvZNRSsW365uVtM,3734
|
10
10
|
orionis/luminate/bootstrap/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
orionis/luminate/bootstrap/config/bootstrapper.py,sha256=PtmZJIH8sHVOdGIogLlqTuPD0XZvR2DgOnPZDgSng9o,2971
|
@@ -143,9 +143,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
143
143
|
tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
144
144
|
tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
|
145
145
|
tests/tools/test_reflection.py,sha256=dNN5p_xAosyEf0ddAElmmmTfhcTtBd4zBNl7qzgnsc0,5242
|
146
|
-
orionis-0.
|
147
|
-
orionis-0.
|
148
|
-
orionis-0.
|
149
|
-
orionis-0.
|
150
|
-
orionis-0.
|
151
|
-
orionis-0.
|
146
|
+
orionis-0.28.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
147
|
+
orionis-0.28.0.dist-info/METADATA,sha256=jepvvgXCSy0qQh6y-8GLj4k4dAWirOX7Xq8SxrmFBjQ,2978
|
148
|
+
orionis-0.28.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
149
|
+
orionis-0.28.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
150
|
+
orionis-0.28.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
151
|
+
orionis-0.28.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|