How to prevent *.exe from installing into all my pyvenv3.5 venv (and what describes their purpose)?

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-10 19:51:33

问题


An initial pyvenv3.5 venv at create time is about 9.5MB on disk, before adding any custom content. Over 9% (!) of the venv disk-overhead are *.exe files, but all lack execute permission mode. One example: lib/python3.5/site-packages/setuptools/gui-32.exe.

The linux file command says they are: executable for MS Windows. It looks like an obscure OS I'm certain my many pyvenv will never run on, and on which I'm unable to test.

What are the repercussions if I just delete them? In initial tests my applications still work, a few of which are tkinter-based GUI.

Can I configure pyvenv somehow not to install them? Are they evidence I'm doing something wrong? The simple command I use to make an initial venv (causing the unwanted *.exe to install):

pyvenv-3.5 /some/path/myenv

Thanks.

edit: on centos 6.6, using pip 9.0.1
edit2: Where in the python-package docs are platform dependent *.exe members defined?

来源:https://stackoverflow.com/questions/47066676/how-to-prevent-exe-from-installing-into-all-my-pyvenv3-5-venv-and-what-descri

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!