Thursday 02 October 2008 19:06:26 Georg Brandl
> Mike Hansen schrieb:
> > Hello,
> >
> > I was running into some issues installing the SVN version of Sphinx.
> > It's the same issue as is here:
> > http://groups.google.com/group/sphinx-dev/browse_thread/thread/1ececc7336
> >4fbca0 .  The problem is that in setup.py (
> > http://svn.python.org/projects/doctools/trunk/setup.py ) on the
> > 'packages=' line, the only package specified is 'sphinx'. Setuptools does
> > not automatically include subpackages so that line should either specify
> > all subpackages or use the find_packages() function.
>
> FYI: As Mike and I discussed in IRC, setuptools' magic works fine if one
> of these conditions are met:
>
> * The source is checked out from SVN, there are .svn dirs.
>
> * There is a Sphinx.egg-info directory in the directory of setup.py
>   generated by setup.py sdist (it contains a list of source files).
>   This is the case for the source packages distributed as releases.
>
> Since one of these conditions should always be met, we concluded that using
> find_packages() -- and noting all package data in a MANIFEST.in -- is not
> necessary.
Iirc this conditions are not met during the build process for svn ebuilds in 
gentoo.  If my mind doesn't cheat me, Gentoo's package managers export svn 
checkout to a temporary build directory first without including .svn 
directories.  This would be a situation, in which setup.py would fail to 
determine packages correctly.

-- 
Freedom is always the freedom of dissenters.
                                      (Rosa Luxemburg)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to