python - an eggs...

bruce bedouglas at
Sun Nov 11 17:50:19 CET 2007

Hi Diez...

In my case, I do a "python install" and i get a Durus...egg
installed in the /usr/lib/python2.4/site-packages/ dir... As I understand
it, this egg/file contains compressed pythonic files.

When I run the app which uses the durus stuff... the app crashes, and
displays the durus python script with a path. However, when I simply
cut/copy the path, and attempt to view that file, the path doesn't exist on
the drive. I'm assuming that there is some sort of relative offset action
going on, but that the file actually doesn't exist, except within the egg

I've also tried to simply modify the original source file, without
rebuilding the egg, which obviously doesn't affect the egg file.

So, for now, the only way I can see to modify the src, is to go back to the
src files, modify, and rebuild the durus app.

I don't see any "setuptools" neither setuptools, nor "man setuptools"
returns anything on my system.

when i run "python develop" and I then run my app, it crashes,
complaining of a persisten object not being found.... So I don't think
that's the immediate solution.


-----Original Message-----
From: at
[ at]On Behalf
Of Diez B. Roggisch
Sent: Sunday, November 11, 2007 4:36 AM
To: python-list at
Subject: Re: python - an eggs...

bruce schrieb:
> Hi...
> I have a python script/app that i'm dealing with. It uses Durus, which
> installs as an egg.
> I'm trying to figure out how to modify any of the underlying source files
> the egg, short of modifying the original source file, and then having to
> reinstall the egg via "python install"...
> I'm relatively new to python/egg(s), but I can't seem to find a way to
> accomplish this via the 'net.
> I've looked in the Install file, as well as the thinking that I
> migt be able to find a way to simply build the app, and to have the
> scripts installed under the "/usr/lib/python2.4/site-packages" tree as the
> other pyhon apps/scripts are....
> The app I'm working with is Durus 3.7. I've got the tar.gz uncompressed,
> the only thing I get is an egg file, which gets installed/placed under the
> "site-packages" dir.
> Any help/pointers/etc.. would be helpful!!

Usually, eggs are created using setuptools [1]. The documentation there
is comparably good. So I'm wondering where your troubles come from.

Your usecase should be solved by a simple

<durus-dir># python develop

Then in the site-packages there will be created an egg-link that points
to your durus-dir. You can then modify the source.


More information about the Python-list mailing list