pkglts.manage module
Contains functions to manage the structure of the package.
Use ‘setup.py’ for common tasks.
- pkglts.manage.add_option(name, cfg)[source]
Add a new option to this package.
Notes: See the list of available options online
- pkglts.manage.clean(rep='.')[source]
Thorough cleaning of all arborescence rooting at rep.
Todo: exception list instead of hardcoded one
- Parameters:
rep (Path) – default “.”, top directory to clean
- Returns:
None
- pkglts.manage.init_pkg(rep='.')[source]
Initialise a package in given directory.
- Parameters:
rep (Path) – directory to create pkg into, default current
- Returns:
None
- pkglts.manage.install_example_files(option, cfg, target=PosixPath('.'))[source]
Install example files associated to an option.
- pkglts.manage.regenerate_option(cfg, name, target='.', overwrite=False)[source]
Call the regenerate function of a given option