Hi Simon,

On 3/30/06, Simon Steele <[EMAIL PROTECTED]> wrote:
> I'm using TurboGears to develop a software management tool, and I need
> to be able to create an installer that will work for Windows PCs that
> are not connected to the internet.
>
> I'm happy that I could just bundle up all the folders from
> site-packages that I think are needed and keep trying until things
> work, but I suspect there must be a better way. Is there a way to get a
> list of required packages/eggs that I can then automatically include in
> my installer? Otherwise keeping the installer up-to-date as the
> application moves through TurboGears versions could be a maintenance
> nightmare.

For Zesty News, I have a script that does my packaging. In my
packaging script, I do a:

import pkg_resources
dists = pkg_resources.require("Zesty News")

dists will be the list of distributions required for Zesty News. You
can find the eggs from there.

Additionally, Phillip Eby provided this command a while ago:

easy_install -axd tempdir YourPackage

This will copy all of the required eggs from your system into the tempdir.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to