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? There is also a like to the Debian guidelines on python packages. http://wiki.debian.org/DebianPython/NewPolicy . I don't know if anything in there applies, but it might. ~tom
* Now talking on #turbogears * Topic for #turbogears is: http://www.turbogears.org || Planet Turbogears: http://planet.turbogears.org || SVN is at http://www.turbogears.org/svn/turbogears || Pastebin: http://tg.pastebin.com || 0.9a6 is out! See http://www.turbogears.org/preview/ * Topic for #turbogears set by splee at Fri May 19 10:35:02 2006 -ChanServ- [#turbogears] This channel is logged: http://irclog.turbogears.org/archive/freenode/turbogears/ lyz anyone available for a packaging question? lyz makeing an rpm for RHEL4 * Bader has quit (Connection timed out) lyz here it goes.. does TurboGears require that TestGears is in an egg package? wormtongue I know that some folks install without ever using an egg.. they're good for dependancies for us normal folks. lyz if the system is using rpm to manage the deps is ther any reason to use eggs? wormtongue See if you can attract jtate's attention - I think it was Him who said He does not install with eggs. * benbange1t has quit (Remote closed the connection) >jtate< you there? * [jtate] is away (gone) lyz I'll hang out for a while thanks wormtongue * fijal (n=kvirc@xxxxxxxxxxxxxxxxxxxx) has left #turbogears kov lyz: TurboGears and some other software really want to have at least the egg information elvelind lyz: first of. TestGears is acually not used any more by TG. We now use Nose for testing. kov lyz: you'll want to install stuff passing --single-version-externally-managed to setup.py kov http://wiki.debian.org/DebianPython/NewPolicy may be of help * Tybstar (n=tgerla@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) has joined #turbogears lyz kov, the --single-version-externally-managed flag overrides the creation of the egg file. Is this the desired result? kov lyz: yes kov lyz: you'll only install the EGG-INFO directory, then, which is enough for setuptools' pkg_resources to find the information it wants kov and the files go as they would lyz kov, nice. That's how I'll do it then. Thanks lyz kov, also thanks for the link kov lyz: =) lyz elvelind, where can I find this nose of which you speak elvelind lyz: http://python.org/pypi/nose elvelind lyz: but it's not required for tg to work. just for running the tests lyz elvelind, I take it that TestGears isn't required either then elvelind lyz: exactly lyz elvelind, ok I'll work on taking that dep off of the TurboGears RPM in the fedora extras then. I'll also try to package nose up lyz thanks all
Attachment:
signature.asc
Description: This is a digitally signed message part