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 brett.cannon
Recipients barry, brett.cannon, vinay.sajip
Date 2019-07-25.17:50:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564077021.19.0.886613759672.issue37683@roundup.psfhosted.org>
In-reply-to
Content
Right now the venv module directly reads the file system to find the activation scripts and then copies them over. Moving over to importlib.resources would be a more portable solution.

Unfortunately the venv API is specifically tied to the file system via EnvBuilder.install_scripts() (https://github.com/python/cpython/blob/master/Lib/venv/__init__.py#L341). I'm not sure how doable this idea would be due to this.
History
Date User Action Args
2019-07-25 17:50:21brett.cannonsetrecipients: + brett.cannon, barry, vinay.sajip
2019-07-25 17:50:21brett.cannonsetmessageid: <1564077021.19.0.886613759672.issue37683@roundup.psfhosted.org>
2019-07-25 17:50:21brett.cannonlinkissue37683 messages
2019-07-25 17:50:20brett.cannoncreate