Configuration.add_subpackage(subpackage_name, subpackage_path=None, standalone=False)

Add a sub-package to the current Configuration instance.

This is useful in a script for adding sub-packages to a package.

Parameters :

subpackage_name: str :

name of the subpackage

subpackage_path: str :

if given, the subpackage path such as the subpackage is in subpackage_path / subpackage_name. If None,the subpackage is assumed to be located in the local path / subpackage_name.

standalone: bool :

This Page