On Tue, Jun 27, 2006 at 05:56:39PM -0500, Tom Lynema wrote:
Here's a few things I found out while making the rpms for
TurboGears,
and a few questions that have now resulted.
I've attached an irc log of a chat I had in #turbogears. They say that
packaging a python module as a .egg file isn't necessary. This means
that the python-Testgears spec can be, and probably should be, modified
to use the --single-version-externally-managed flag.
TurboGears will work just fine without python-TestGears. It's just a
testing suite. Should the dependency be taken out of the TurboGears
package? Also, the people in #turbogears (specifically evelind) say
that they don't even use python-TestGears and instead have moved on to
nose (
http://python.org/pypi/nose). Should I package nose or
python-TestGears or both?
Ignacio packaged up TurboGears for extras[0] earlier this year, which
installs it using --single-version-externally-managed.
As for python-TestGears, I recently filed a bug[1] to add this as a
dependency because the tg-admin tool explodes without it:
Traceback (most recent call last):
File "/usr/bin/tg-admin", line 5, in ?
from pkg_resources import load_entry_point
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2356, in ?
working_set.require(__requires__)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 585, in
require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 483, in
resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: TestGears>=0.2
luke
[0]:
http://download.fedora.redhat.com/pub/fedora/linux/extras/5/SRPMS/TurboGe...
[1]:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=195370