asphalt.templating.utils

asphalt.templating.utils.package_to_directory(package_path)

Translate a package/path specification into a real file system pathname.

Parameters:

package_path (str) – a package name or a package/path specification like package.subpackage/directory/subdirectory

Return type:

str

Returns:

the translated path name

Raises: