duck.setup.makeblueprint

Module for creating blueprint directory structure.

Module Contents

Functions

create_blueprint_py

Creates a blueprint.py file in provided directory for the provided blueprint.

ignore_pycache

Ignore pycache directories during copy.

makeblueprint

Create a Duck blueprint directory structure in provided base_dir.

Data

BLUEPRINT_TEMPLATE

API

duck.setup.makeblueprint.BLUEPRINT_TEMPLATE

‘lstrip(…)’

duck.setup.makeblueprint.create_blueprint_py(blueprint_name: str, dest_directory)

Creates a blueprint.py file in provided directory for the provided blueprint.

Parameters:
  • blueprint_name – The blueprint name.

  • dest_directory – The destination directory.

duck.setup.makeblueprint.ignore_pycache(dir_path, contents)

Ignore pycache directories during copy.

duck.setup.makeblueprint.makeblueprint(name: str, base_dir: str, overwrite_existing: bool = False) None

Create a Duck blueprint directory structure in provided base_dir.