[Distutils] installing scripts into the user's PATH

Dave Peterson dpeterson at enthought.com
Fri Jan 4 01:01:08 CET 2008

Phillip J. Eby wrote:
> At 05:00 PM 1/3/2008 -0600, Dave Peterson wrote:
>> Just curious, but is there a reason setuptools uses 'Scripts' on Windows
>> instead of the 'Tools' dir?  Unless I'm mistaken, a a new install of
>> Python 2.5 puts scripts in 'Tools'.
> It puts Python-supplied scripts there, yes, but the convention of 
> installing user scripts in the Scripts subdirectory goes back at least 
> a decade.
> Which doesn't mean it's right, but it's certainly not *new*.  :)
> (Oh, and it's *distutils* that chooses that location, not setuptools.)

Right, sorry for the confusion on which package was doing it.  

I just wish either distutils or the .msi installer was changed because 
it is confusing to describe what to do to users (especially those new to 
Python and/or Windows) when the Python .msi on windows doesn't even 
create the "Scripts" sub-dir, much less add it to a path environment 
variable for you.  :-(

-- Dave

More information about the Distutils-SIG mailing list