Demos and Tools in binary distributions

There's a suggestion over on pythonmac-sig that I add the Demos and Tools directories to a binary installer for MacPython for OSX. For MacPython-OS9 I've always included these, as the OS9 installed tree was really the same layout as the source tree. But I don't really know where I should put them for OSX. How is this handled in binary installers for other platforms? I.e. if you install Python on Windows, do you get Demos and Tools? Where? And if you install an RPM or something similar on Linux? -- Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman

On Fri, May 02, 2003 at 02:45:34PM +0200, Jack Jansen wrote:
How is this handled in binary installers for other platforms? I.e. if you install Python on Windows, do you get Demos and Tools? Where? And if you install an RPM or something similar on Linux?
The Debian packages include Demo and Tools in /usr/share/doc/python<version>/examples/; this is practically mandated by the Debian policy ;) -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!

There's a suggestion over on pythonmac-sig that I add the Demos and Tools directories to a binary installer for MacPython for OSX. For MacPython-OS9 I've always included these, as the OS9 installed tree was really the same layout as the source tree. But I don't really know where I should put them for OSX.
How is this handled in binary installers for other platforms? I.e. if you install Python on Windows, do you get Demos and Tools? Where? And if you install an RPM or something similar on Linux?
On Windows, you get a small selection of tools (i18n, idle, pynche, scripts, versioncheck and webchecker) but no demos, alas. --Guido van Rossum (home page: http://www.python.org/~guido/)

Jack Jansen <Jack.Jansen@cwi.nl> writes:
There's a suggestion over on pythonmac-sig that I add the Demos and Tools directories to a binary installer for MacPython for OSX. For MacPython-OS9 I've always included these, as the OS9 installed tree was really the same layout as the source tree. But I don't really know where I should put them for OSX.
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... Cheers, M. -- Need to Know is usually an interesting UK digest of things that happened last week or might happen next week. [...] This week, nothing happened, and we don't care. -- NTK Now, 2000-12-29, http://www.ntk.net/

On Fri, 2 May 2003, Michael Hudson wrote:
Jack Jansen <Jack.Jansen@cwi.nl> writes:
There's a suggestion over on pythonmac-sig that I add the Demos and Tools directories to a binary installer for MacPython for OSX. For MacPython-OS9 I've always included these, as the OS9 installed tree was really the same layout as the source tree. But I don't really know where I should put them for OSX.
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...
Cheers, M.
Are there currently any make targets for 'tools' and 'demos'? Adding them might be a way to gently influence where they get installed when all the different distros build thier packages.

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. Just

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 -
participants (7)
-
Guido van Rossum
-
Jack Jansen
-
Jack Jansen
-
Just van Rossum
-
logistix
-
Michael Hudson
-
Thomas Wouters