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

Scott Dial scott+python-dev at scottdial.com
Wed Mar 14 16:09:48 CET 2012


On 3/13/2012 9:57 PM, VanL wrote:
> On Mar 13, 2012, at 8:37 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> The installation will end up in
>>
>> c:\python33\lib\python3.3
>>
>> which has the software name and version twice in the path.
>>
>> Do we *really* need this?
> 
> We *already* have this. The only difference in this proposal is that we go from py_version_nodot to py_version_short, i.e. from
> 
> c:\python33\lib\python33 
> 
> to
> 
> c:\python33\lib\python3.3
> 
> Given that we already repeat it, isn't it better to be consistent?
> 

Is it?

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}

-- 
Scott Dial
scott at scottdial.com


More information about the Python-Dev mailing list