Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78650 > unrolled thread

Egg help wanted

Started bycl@isbd.net
First post2014-10-03 15:08 +0100
Last post2014-10-03 15:08 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Egg help wanted cl@isbd.net - 2014-10-03 15:08 +0100

#78650 — Egg help wanted

Fromcl@isbd.net
Date2014-10-03 15:08 +0100
SubjectEgg help wanted
Message-ID<b8n2gb-558.ln1@chris.zbmc.eu>
I have installed (using easy_install) a little utility, it seems to
have installed just the top-level python script in /usr/local/bin
which in turn uses load_entry_point() to run the actual code.

As far as I can see the code and support files remain in the .egg file
in /usr/local/lib/python2.7/dist-packages, is this right?  I.e. is the
egg file unzipped 'on the fly' when the program is called?

Reading the documentation for pkg_resources it sounds like it will
also work if I unpack the .egg file into a directory of the same name
also put in /usr/local/lib/python2.7/dist-packages.  Have I understood
this correctly?  I want to do this to make it easy to do trivial edits
to the program rather than having to move it all back into a proper
development environment.

-- 
Chris Green
ยท

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web