diff --git a/{{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/__init__.py b/{{cookiecutter.project_name}}/__init__.py similarity index 76% rename from {{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/__init__.py rename to {{cookiecutter.project_name}}/__init__.py index 1a4d94d..3592fee 100644 --- a/{{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/__init__.py +++ b/{{cookiecutter.project_name}}/__init__.py @@ -12,9 +12,9 @@ __email__ = "{{cookiecutter.email}}" __version__ = "{{cookiecutter.version}}" -from .nodes import NODE_CLASS_MAPPINGS -from .nodes import NODE_DISPLAY_NAME_MAPPINGS +from .src.nodes import NODE_CLASS_MAPPINGS +from .src.nodes import NODE_DISPLAY_NAME_MAPPINGS {% if cookiecutter.__include_web -%} -WEB_DIRECTORY = "web" +WEB_DIRECTORY = "./web" {%- endif %} diff --git a/{{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/web/js/example.js b/{{cookiecutter.project_name}}/web/js/example.js similarity index 100% rename from {{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/web/js/example.js rename to {{cookiecutter.project_name}}/web/js/example.js