Message382301
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. |
|
Date |
User |
Action |
Args |
2020-12-02 10:18:16 | jussienko | set | recipients:
+ jussienko |
2020-12-02 10:18:16 | jussienko | set | messageid: <1606904296.18.0.0189453228301.issue42534@roundup.psfhosted.org> |
2020-12-02 10:18:16 | jussienko | link | issue42534 messages |
2020-12-02 10:18:15 | jussienko | create | |
|