Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7222
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ben Finney <ben+debian@benfinney.id.au> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Application libraries private, Distutils metadata available for console scripts and introspection |
| Date | Tue, 01 Sep 2015 07:40:01 +0200 |
| Message-ID | <q3Msx-5Ha-5@gated-at.bofh.it> (permalink) |
| References | <q3JXI-21j-5@gated-at.bofh.it> <q3LGa-4x7-15@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Sep 1 05:35:25 2015 |
| Old-Return-Path | <debian-python@m.gmane.org> |
| X-Amavis-Spam-Status | No, score=-9.112 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.015, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.427] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| Lines | 27 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | jigong.madmonks.org |
| X-Public-Key-ID | 0xAC128405 |
| X-Public-Key-Fingerprint | 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-pubkey.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
| Cancel-Lock | sha1:BbSkRSh9/RapdXmhZjxA80h39sc= |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/12529 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/857foabt2z.fsf@benfinney.id.au |
| Approved | robomod@news.nic.it |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 01 Sep 2015 15:35:00 +1000 |
| X-Original-Message-ID | <857foabt2z.fsf@benfinney.id.au> |
| X-Original-References | <85bndmc0ln.fsf@benfinney.id.au> <CAJ3HoZ3tj7BHNEkdUGd9g1CstmXVDKt2USi99Vn_JisqyMQ7_A@mail.gmail.com> |
| X-Original-X-Complaints-To | usenet@ger.gmane.org |
| Xref | csiph.com linux.debian.maint.python:7222 |
Show key headers only | View raw
Robert Collins <robertc@robertcollins.net> writes: > PKG resources should find it anywhere in the python path. That's exactly the point, though. The packages are private to this application, and should not be available for import by other programs. On the other hand, the Distutils metadata (the ‘foo-1.2.3.egg-info’ directory) should be available for the program. What I'd like is for the distribution to be installed such that: * its modules are private (‘--install-lib=/usr/share/FooApp/’), and * its distribution metadata is discoverable (‘--install-metadata=???’ except there doesn't seem to be such an option). > I'd the path correct within the all processes? I don't know. I would not expect to need to alter how the program is run in order for it to find its own distribution metadata. -- \ “When I get real bored, I like to drive downtown and get a | `\ great parking spot, then sit in my car and count how many | _o__) people ask me if I'm leaving.” —Steven Wright | Ben Finney
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