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:
+1
-1
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user