[PEAK] environment empty after scanning path
m.beyer5 at gmx.de
Thu Apr 29 05:23:03 EDT 2010
i have a little problem with pkg_resources.
I would like to load eggs from a path, but once i add the path to the environment, it is empty. The code looks like this:
PATH = "/path/to/my/egg-folder"
env = pkg_resources.Environment([PATH])
Now, if i want to iterate through env entries, it turns out to be completely empty, zero entries.
This is independent of the path i use and also independent of how i invoke it (python cli, ipython, from gnome env, etc.)
Does anyone have any idea on how to make this work?
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the PEAK