Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

The install_scripts() API is intended to allow users to add their own 
venv-specific scripts from their own project folders. We could add an 
install_resources() method, which would add all the resources in a given 
package. The signature would be

    def install_resources(self, context, package_name):
        ...

To do this for the existing scripts directory would require adding __init__.py 
files to each directory in this scripts tree, right? This wouldn't really give 
any particular benefits, as the __init__.py files would need to be filtered out 
when copying to the venv's binaries folder.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37683>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to