From 1a21abdecf72e992aadec15d4afe840edec11834 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Thu, 4 Jun 2020 19:24:21 +0200 Subject: [PATCH] feat(celaction): new pype structure --- pype/hooks/celaction/prelaunch.py | 2 +- pype/{ => hosts}/celaction/__init__.py | 2 +- .../celaction/celaction_template_scene.scn | Bin pype/{ => hosts}/celaction/cli.py | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename pype/{ => hosts}/celaction/__init__.py (93%) rename pype/{ => hosts}/celaction/celaction_template_scene.scn (100%) rename pype/{ => hosts}/celaction/cli.py (100%) diff --git a/pype/hooks/celaction/prelaunch.py b/pype/hooks/celaction/prelaunch.py index 55956a7481..4aa4237035 100644 --- a/pype/hooks/celaction/prelaunch.py +++ b/pype/hooks/celaction/prelaunch.py @@ -71,7 +71,7 @@ class CelactionPrelaunchHook(PypeHook): # from `pype.celation` dir template_path = env.get("CELACTION_TEMPLATE") or os.path.join( env.get("PYPE_MODULE_ROOT"), - "pype/celaction/celaction_template_scene_.scn" + "pype/hosts/celaction/celaction_template_scene.scn" ) self.log.info(f"Creating workfile from template: `{template_path}`") shutil.copy2( diff --git a/pype/celaction/__init__.py b/pype/hosts/celaction/__init__.py similarity index 93% rename from pype/celaction/__init__.py rename to pype/hosts/celaction/__init__.py index 47e81a9212..8c93d93738 100644 --- a/pype/celaction/__init__.py +++ b/pype/hosts/celaction/__init__.py @@ -1 +1 @@ -kwargs = None +kwargs = None diff --git a/pype/celaction/celaction_template_scene.scn b/pype/hosts/celaction/celaction_template_scene.scn similarity index 100% rename from pype/celaction/celaction_template_scene.scn rename to pype/hosts/celaction/celaction_template_scene.scn diff --git a/pype/celaction/cli.py b/pype/hosts/celaction/cli.py similarity index 100% rename from pype/celaction/cli.py rename to pype/hosts/celaction/cli.py