This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients barry, brett.cannon, vinay.sajip
Date 2019-09-09.11:10:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568027459.81.0.478684623991.issue37683@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-09-09 11:10:59vinay.sajipsetrecipients: + vinay.sajip, barry, brett.cannon
2019-09-09 11:10:59vinay.sajipsetmessageid: <1568027459.81.0.478684623991.issue37683@roundup.psfhosted.org>
2019-09-09 11:10:59vinay.sajiplinkissue37683 messages
2019-09-09 11:10:59vinay.sajipcreate