[Python-Dev] Demos and Tools in binary distributions

Jack Jansen Jack.Jansen@oratrix.com
Fri, 2 May 2003 23:52:08 +0200


On vrijdag, mei 2, 2003, at 18:20 Europe/Amsterdam, Just van Rossum 
wrote:

> Michael Hudson wrote:
>
>> Surely this is more a question about OSX than Python?  I.e. the
>> examples should go where the user expects them.
>> /Developer/Examples/Python?  Of course, not everyone who installs
>> Python will have the dev tools...
>
> Actually, I didn't know until recently that 3rd party stuff sometimes
> gets installed there (eg. the PyObjC doco). I would actually expect it
> in /Application/MacPython-2.3/..., as that's where the apps get
> installed. I guess /Developer/... would make sense if the Python apps
> got installed in /Developer/Applications/, which they don't.

I'm also tempted to go with /Applications/MacPython-2.3/Demo and 
.../Tools.
That is what a lot of Mac applications do. It has a slight problems, 
though:
it would look unintuitive to a pure-unix user. But as there isn't a
standard location for this on unix anyway: who cares <wink>.

A slightly more serious problem is that the README's in Tools and Demo 
aren't
really meant for the 100%-novice, and a prominent location at the top 
of the
/Applications/MacPython-2.3 folder will make it almost-100%-certain that
these files are going to be among the first they read.

I could put Demo and Tools one level deeper (in an Extras folder?) and
provide a readme there explaining that these demos and tools are for all
Pythons on all platforms, so may not work and/or may not be intellegible
int he first place.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -