Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78650
| From | cl@isbd.net |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Egg help wanted |
| Date | 2014-10-03 15:08 +0100 |
| Message-ID | <b8n2gb-558.ln1@chris.zbmc.eu> (permalink) |
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 ยท
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Egg help wanted cl@isbd.net - 2014-10-03 15:08 +0100
csiph-web