Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7234
| Path | csiph.com!news.mixmin.net!news2.arglkargh.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Barry Warsaw <barry@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Application libraries private, Distutils metadata available for console scripts and introspection |
| Date | Wed, 02 Sep 2015 15:50:02 +0200 |
| Message-ID | <q4gAi-6FJ-7@gated-at.bofh.it> (permalink) |
| References | <q3JXI-21j-5@gated-at.bofh.it> <q4bKi-8dy-13@gated-at.bofh.it> <q4cdk-zo-9@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Sep 2 13:42:00 2015 |
| Old-Return-Path | <barry@debian.org> |
| X-Amavis-Spam-Status | No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| Organization | The Organization of Unorganized Woozalists |
| X-Mailer | Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/12540 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20150902094200.50da6cd7@anarchist.wooz.org |
| Approved | robomod@news.nic.it |
| Lines | 19 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 2 Sep 2015 09:42:00 -0400 |
| X-Original-Message-ID | <20150902094200.50da6cd7@anarchist.wooz.org> |
| X-Original-References | <85bndmc0ln.fsf@benfinney.id.au> <85k2s99q1h.fsf@benfinney.id.au> <CAJ3HoZ1JYyL5WXwKwXWEBSCuc+217w375mf2BBNjgJ05a8FCSA@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.python:7234 |
Show key headers only | View raw
On Sep 02, 2015, at 09:06 PM, Robert Collins wrote: >So this is perhaps the disconnect: I did not say the metadata should >move: it should be in the private directory - it has to be adjacent to >the packages/modules its describing, since if it is present but the >package/module is not that is at the very best confusing for tools >like pip. > >That private directory must be on the python search path when running >the application (or the modules can't be imported). It may be a problem of code execution order. Where does the sys.path manipulation happen to add the private application path to sys.path? If that happens after the wrapper script tries to load the entry point, it will go boom in the way Ben is describing. sys.path has to be hacked before that, but I don't think the entry point wrapper creation will do that automatically. Cheers, -Barry
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar
Application libraries private, Distutils metadata available for console scripts and introspection Ben Finney <ben+debian@benfinney.id.au> - 2015-09-01 05:00 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Robert Collins <robertc@robertcollins.net> - 2015-09-01 06:50 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Ben Finney <ben+debian@benfinney.id.au> - 2015-09-01 07:40 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Robert Collins <robertc@robertcollins.net> - 2015-09-01 09:40 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Ben Finney <ben+debian@benfinney.id.au> - 2015-09-01 08:10 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Piotr Ożarowski <piotr@debian.org> - 2015-09-01 12:20 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Ben Finney <ben+debian@benfinney.id.au> - 2015-09-02 10:40 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Robert Collins <robertc@robertcollins.net> - 2015-09-02 11:10 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2015-09-02 11:20 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Robert Collins <robertc@robertcollins.net> - 2015-09-02 13:30 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Barry Warsaw <barry@debian.org> - 2015-09-02 15:50 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Ben Finney <ben+debian@benfinney.id.au> - 2015-09-02 12:50 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Robert Collins <robertc@robertcollins.net> - 2015-09-02 13:30 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Barry Warsaw <barry@debian.org> - 2015-09-02 15:50 +0200
Re: Application libraries private, Distutils metadata available for console scripts and introspection Piotr Ożarowski <piotr@debian.org> - 2015-09-03 00:20 +0200
csiph-web