Windows installer from python source code without access to source code

Jim Schwartz jschwar at sbcglobal.net
Fri Apr 7 06:33:25 EDT 2023


Yea, thanks a lot.  That makes sense.  I was testing it on my development environment and got it to work that way, but I need to package it and test it on my dual boot "user" environment.  Thanks again for the help.  I've deleted that environment variable.

-----Original Message-----
From: Eryk Sun <eryksun at gmail.com> 
Sent: Thursday, April 6, 2023 8:06 PM
To: Jim Schwartz <jschwar at sbcglobal.net>
Cc: python-list at python.org
Subject: Re: Windows installer from python source code without access to source code

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