Lines Matching defs:package
239 """Load templates from a directory in a Python package.
241 :param package_name: Import name of the package that contains the
243 :param package_path: Directory within the imported package that
248 within the ``project.ui`` package.
268 Limited PEP 420 namespace package support.
289 # Make sure the package exists. This also makes namespace
293 assert spec is not None, "An import spec was not found for the package."
295 assert loader is not None, "A loader was not found for the package."
324 f"The {package_name!r} package was not installed in a"
484 By loading ``'app1/index.html'`` the file from the app1 package is loaded,