Author eryksun
Recipients eryksun, jonathan-lp, paul.moore, steve.dower, tim.golden, vinay.sajip, zach.ware
Date 2018-07-03.01:56:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530582999.33.0.56676864532.issue34011@psf.upfronthosting.co.za>
In-reply-to
Content
Offhand I don't know why it copies PYD and DLL files from the DLLs directory. It's part of the standard library. The virtual environment should only need to copy or symlink the binaries in the application directory, such as python.exe, pythonw.exe, vcruntime<###>.dll, python<##>.dll, and python<#>.dll. Currently a virtual environment doesn't use the binaries that get copied or symlinked from the DLLs directory, since the system DLLs directory is in sys.path.

Also, why does it copy over init.tcl? _tkinter uses Py_GetPrefix() to to get the real prefix directory in order to find the TCL library at "tcl\tclX.y". For a Python 3.7 virtual environment, I verified using Sysinternals procmon that TCL loads the init file from "C:\Program Files\Python37\tcl\tcl8.6\init.tcl", not the virtual environment.
History
Date User Action Args
2018-07-03 01:56:39eryksunsetrecipients: + eryksun, paul.moore, vinay.sajip, tim.golden, zach.ware, steve.dower, jonathan-lp
2018-07-03 01:56:39eryksunsetmessageid: <1530582999.33.0.56676864532.issue34011@psf.upfronthosting.co.za>
2018-07-03 01:56:39eryksunlinkissue34011 messages
2018-07-03 01:56:38eryksuncreate