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 jussienko
Recipients jussienko
Date 2020-12-02.10:18:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606904296.18.0.0189453228301.issue42534@roundup.psfhosted.org>
In-reply-to
Content
In some cases it can be useful to provide standard library in a zip-file. 
However, when "venv" is imported from a zip-file, activate etc. scripts are not generated. The directory for script templates is determined in function setup_scripts in venv/__init__.py as

   path = os.path.abspath(os.path.dirname(__file__))
   path = os.path.join(path, 'scripts')

which becomes .../python38.zip/venv/scripts when is venv is imported from zip-file. No scripts are now generated, and no error / warning messages are invoked either.
History
Date User Action Args
2020-12-02 10:18:16jussienkosetrecipients: + jussienko
2020-12-02 10:18:16jussienkosetmessageid: <1606904296.18.0.0189453228301.issue42534@roundup.psfhosted.org>
2020-12-02 10:18:16jussienkolinkissue42534 messages
2020-12-02 10:18:15jussienkocreate