connie_codes wrote:
> Hi.
> I have a developed a pylons application using
sqlachemy, firebird (w/
> kinterbasDB), and various library components shared
across the rest of
> my development tree. I am finally ready to package and
deploy the
> application, but am encountering some difficulty. My
closest
> experience to setuptools in the past has been with
py2exe. When I run
> py2exe it walk the chain import and bundles in required
modules (found
> in CWD or on the path). I understand with
"setup.py bdist_egg" that I
> can declare egg dependencies and I have no problem
getting the end
> user to easy_install these as necessary, but... and
here is the
> question....
>
> Is there any directive I can give to setuptools such
that it will walk
> the import chain in a similar way to py2exe? I don't
wan't it to
> include my required eggs, but at the very least it
should be able to
> go to my lib folder and bundle in the required non-egg
modules. Short
> of that is there any way I can get it to simply tell me
which modules
> need to be available?
>
> Any help is greatly appreciated.
It hasn't been tested much but I included a command in
buildutils that
does something like this. You can do easy_install
buildutils, then:
python setup.py bundle
It will look at the requirements you list in setup.py, and
include all
the necessary eggs and try to patch up any executables to
use the
bundled eggs. I haven't actually used it seriously myself,
but I'm
interested in any bugs or feedback you have on it.
--
Ian Bicking : ianb colorstudy.com : http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discuss googlegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribe googlegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---
|