<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.1">
</HEAD>
<BODY>
<PRE>
On Thu, July 26, 2007 12:46 pm, Phillip J. Eby wrote:
&gt;At 02:13 PM 7/26/2007 -0500, Dave Peterson wrote:
&gt;&gt;<I>In further discussions at Enthought, we're now thinking that creating a</I>
&gt;&gt;<I>'docs' dir as a top-level under python itself makes sense, and then the</I>
&gt;&gt;<I>installation of eggs could copy docs and/or examples there in a manner</I>
&gt;&gt;<I>similar to how it handles scripts into the platforms scripts dir.&nbsp;&nbsp; It</I>
&gt;&gt;<I>would make sense that they should be put in dirs named with a format</I>
&gt;&gt;<I>like &lt;project name&gt;-&lt;version&gt; so that the user could differentiate the</I>
&gt;&gt;<I>docs for each project they installed.&nbsp; If this was done, it seems like</I>
&gt;&gt;<I>it wouldn't be too hard for Stan, and other rpm builders, to either</I>
&gt;&gt;<I>create symbolic links or copy these to /usr/share/doc in order to</I>
&gt;&gt;<I>maintain compatibility with the LSB.</I>

&gt;This isn't a bad idea, although I think that there are some hurdles 
&gt;that need to be worked out.&nbsp; My general thought is that, were 
&gt;easy_install to support documentation, it would need to take an 
&gt;option to determine the documentation base directory, and have a 
&gt;--no-docs install option.

&gt;One issue is that under most RPM systems, package names are more like 
&gt;'python-foobar-1.2', and 'foobar' may not even be the exact distutils 
&gt;name of the package.&nbsp; So, installing the docs to the correct location 
&gt;in the general case may be more complex.&nbsp; Note, however, that 
&gt;bdist_rpm offers a --doc-files option, which of course can be 
&gt;configured via setup.cfg.&nbsp; I have no idea how it works, though, so 
&gt;don't ask me.&nbsp; :)

<!--+GtkHTML:<DATA class="ClueFlow" key="orig" value="0">-->
</PRE>
The practice of changing the name of the whatever package to python-whatever may be distro dependent.&nbsp; Also (thankfully), python-whatever is installed in site-packages/whatever and not in site-packages/python-whatever.&nbsp; It was not always that way.&nbsp; Back at something like RedHat 7, they did change the names and the installation locations.&nbsp; If you had something else that imported the package, you had to go in and change the code to match their changed name.<BR>
<BR>
I can understand the reasons of the distros and repositories for doing this (keeping all the python or other language packages together in the list) but that does not make it less annoying.&nbsp; In looking to see if a package is in the repository, you have to look in various places beyond what the original developer/maintainer of the package calls it.<BR>
<BR>
Also, I'm not sure of the split between /usr/share/whatever and usr/share/doc/whatever for things like docs, tests, examples, and other miscellaneous files.&nbsp; It tends to be at the whim of the packager.<BR>
<BR>
<BR>
Stan Klein
</BODY>
</HTML>