duck.setup.makeblueprint¶
Module for creating blueprint directory structure.
Module Contents¶
Functions¶
Creates a blueprint.py file in provided directory for the provided blueprint. |
|
Ignore pycache directories during copy. |
|
Create a Duck blueprint directory structure in provided base_dir. |
Data¶
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.