[Python-Dev] Python install layout and the PATH on win32

Lindberg, Van Van.Lindberg at haynesboone.com
Wed Mar 14 16:51:32 CET 2012


On 3/14/2012 10:09 AM, Scott Dial wrote:
> I think you are confusing two different configuration sections in
> sysconfig.cfg:
>
> [nt]
> stdlib = {base}/Lib
> platstdlib = {base}/Lib
> purelib = {base}/Lib/site-packages
> platlib = {base}/Lib/site-packages
> include = {base}/Include
> platinclude = {base}/Include
> scripts = {base}/Scripts
> data = {base}
>
> [nt_user]
> stdlib = {userbase}/Python{py_version_nodot}
> platstdlib = {userbase}/Python{py_version_nodot}
> purelib = {userbase}/Python{py_version_nodot}/site-packages
> platlib = {userbase}/Python{py_version_nodot}/site-packages
> include = {userbase}/Python{py_version_nodot}/Include
> scripts = {userbase}/Scripts
> data = {userbase}


I was lumping them together, yes, but now note that I modify the 
proposal to maintain this distinction. These would change to:

[nt]
stdlib = {base}/lib
platstdlib = {base}/lib
purelib = {base}/lib/site-packages
platlib = {base}/lib/site-packages
include = {base}/include
platinclude = {base}/include
scripts = {base}/bin
data = {base}

[nt_user]
stdlib = {userbase}/python{py_version_short}
platstdlib = {userbase}/python{py_version_short}
purelib = {userbase}/python{py_version_short}/site-packages
platlib = {userbase}/python{py_version_short}/site-packages
include = {userbase}/python{py_version_short}/include
scripts = {userbase}/bin
data = {userbase}

CIRCULAR 230 NOTICE: To ensure compliance with requirements imposed by 
U.S. Treasury Regulations, Haynes and Boone, LLP informs you that any 
U.S. tax advice contained in this communication (including any 
attachments) was not intended or written to be used, and cannot be 
used, for the purpose of (i) avoiding penalties under the Internal 
Revenue Code or (ii) promoting, marketing or recommending to another 
party any transaction or matter addressed herein.

CONFIDENTIALITY NOTICE: This electronic mail transmission is confidential, 
may be privileged and should be read or retained only by the intended 
recipient. If you have received this transmission in error, please 
immediately notify the sender and delete it from your system.



More information about the Python-Dev mailing list