Windows installer from python source code without access to source code

Eryk Sun eryksun at gmail.com
Thu Apr 6 21:05:40 EDT 2023


On 4/6/23, Jim Schwartz <jschwar at sbcglobal.net> wrote:
> Never mind.  I found it on the web.  I needed to point my PYTHONPATH to
> sitepackages:

In most cases an application should be isolated from PYTHON*
environment variables. If you're creating a Python application or
embedding Python in an application, use the embeddable distribution,
and add any additional required sys.path directories to the included
"._pth" file (e.g. "python311._pth").

https://docs.python.org/3/library/sys_path_init.html#pth-files


More information about the Python-list mailing list