Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78650
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | cl@isbd.net |
| Newsgroups | comp.lang.python |
| Subject | Egg help wanted |
| Date | Fri, 3 Oct 2014 15:08:43 +0100 |
| Lines | 18 |
| Message-ID | <b8n2gb-558.ln1@chris.zbmc.eu> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net aqNV+RtmG/iPBe8Aoq+K+Qvf8q0UYIkVElIaBHseIsvmQzd5U= |
| X-Orig-Path | not-for-mail |
| Cancel-Lock | sha1:e++kx/pf+xfI1xVpay1JGYh0kaU= |
| User-Agent | tin/2.2.0-20131224 ("Lochindaal") (UNIX) (Linux/3.13.0-36-generic (x86_64)) |
| Xref | csiph.com comp.lang.python:78650 |
Show key headers only | View raw
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