Path to this page:
Subject: CVS commit: pkgsrc/devel/py-importlib-resources
From: Adam Ciarcinski
Date: 2020-03-02 11:41:22
Message id: 20200302104122.63D1DFBF4@cvs.NetBSD.org
Log Message:
py-importlib-resources: updated to 1.1.0
v1.1.0
Add support for retrieving resources from subdirectories of packages through the \
new files() function, which returns a Traversable object with joinpath and \
read_* interfaces matching those of pathlib.Path objects. This new function \
supersedes all of the previous functionality as it provides a more \
general-purpose access to a package’s resources.
With this function, subdirectories are supported.
The documentation has been updated to reflect that this function is now the \
preferred interface for loading package resources. It does not, however, support \
resources from arbitrary loaders. It currently only supports resources from file \
system path and zipfile packages (a consequence of the ResourceReader interface \
only operating on Python packages).
Files: