[issue37683] Use importlib.resources in venv
Vinay Sajip
report at bugs.python.org
Tue Sep 10 05:50:09 EDT 2019
Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:
> We've basically agreed that you should be able to load resources from subdirectories that aren't packages. It turns out to be not a simple change in importlib.resources, but contributions are welcome!
In case anyone is interested, I've already done this in distlib.resources:
https://distlib.readthedocs.io/en/latest/reference.html#the-distlib-resources-package
Possibly a similar approach could be used.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37683>
_______________________________________
More information about the Python-bugs-list
mailing list