Skip to content

Add support for a directory of resources #228

@jaraco

Description

@jaraco

Today I was looking at jaraco/cssutils#9 and discovered that cssutils takes advantage of directory tree support in pkg_resources. That is, pkg_resources.resource_filename supports specifying a directory as a resource and making those contents available on the file system.

Currently, the as_file implementation only supports a single file and not a tree of files. To support use-cases like those of cssutils, as_file should support extracting a tree of traversables.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions