Refactored the o3de registration.py script into several files which each

contains the implementation of a subparser command.

Updated the register command to be not register engine gems, templates,
projects and external subdirectories to the o3de_manifest

Updated the register-show command to be able to read the engine's gems,
templates, projects and external subdirectories from the engine.json
file
This commit is contained in:
lumberyard-employee-dm
2021-05-21 01:58:54 -05:00
parent a55edbe910
commit a9bc8e943d
22 changed files with 4641 additions and 4466 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import sys
# So the current script directory is removed from the sys.path temporary
SCRIPT_DIR_REMOVED = False
SCRIPT_DIR = pathlib.Path(__file__).parent.resolve()
if str(SCRIPT_DIR) in sys.path:
while str(SCRIPT_DIR) in sys.path:
SCRIPT_DIR_REMOVED = True
sys.path.remove(str(SCRIPT_DIR))