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


Groups > linux.debian.maint.python > #10509

Re: Removal of easy_install

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Removal of easy_install
Date Tue, 08 May 2018 03:50:01 +0200
Message-ID <vMZVn-Nu-3@gated-at.bofh.it> (permalink)
References <vMDrP-2Sc-5@gated-at.bofh.it> <vME4x-3uQ-7@gated-at.bofh.it> <vMOQm-1WX-3@gated-at.bofh.it> <vMYd0-8ay-3@gated-at.bofh.it> <vMYZk-eG-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue May 8 01:49:57 2018
Old-Return-Path <debian-python@m.gmane.org>
X-Amavis-Spam-Status No, score=-5.957 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -6.1
X-Injected-Via-Gmane http://gmane.org/
Lines 30
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
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>
Cancel-Lock sha1:zH4GwB60knP+HlxVAfBoNqXbRko=
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15913
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/8536z2q5lf.fsf@benfinney.id.au
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 08 May 2018 11:49:32 +1000
X-Original-Message-ID <8536z2q5lf.fsf@benfinney.id.au>
X-Original-References <alpine.DEB.2.20.1805062133230.13357@bear.techie.net> <85d0y8p5q6.fsf@benfinney.id.au> <alpine.DEB.2.20.1805070944300.22176@bear.techie.net> <858t8vowhu.fsf@benfinney.id.au> <alpine.DEB.2.20.1805072040520.30311@bear.techie.net>
X-Original-X-Complaints-To usenet@blaine.gmane.org
Xref csiph.com linux.debian.maint.python:10509

Show key headers only | View raw


Scott Talbert <swt@techie.net> writes:

> Installing the egg means that all the wxpython4.0 files are installed
> under:
> /usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg
>
> Thus, any program or user who does an 'import wx' will get the
> wxpython3.0 module and if instead the wxpython4.0 module is desired,
> the user must manually insert the above path into sys.path or
> PYTHONPATH.

That seems, based on the above description, to just arbitrarily declare
one version to be the default, and the other needs manual override by
the user.

If that's an accurate description of the effect you want, then you don't
need to do a special ‘easy_install’ usage, nor an Egg install. You can
instead install to a different location using the normal tools. See the
‘pybuild(1)’ manual page on how to specify installation locations when
installing the Python library.

That would not need anything different from the Debian package tools,
and you are then left in the same situation: the user needs to specify a
different import search path to choose the different library.

-- 
 \      “By instructing students how to learn, unlearn, and relearn, a |
  `\         powerful new dimension can be added to education.” —Alvin |
_o__)                                    Toffler, _Future Shock_, 1970 |
Ben Finney

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Removal of easy_install Scott Talbert <swt@techie.net> - 2018-05-07 03:50 +0200
  Re: Removal of easy_install Ben Finney <bignose@debian.org> - 2018-05-07 04:30 +0200
    Re: Removal of easy_install Thomas Goirand <zigo@debian.org> - 2018-05-07 14:30 +0200
    Re: Removal of easy_install Scott Talbert <swt@techie.net> - 2018-05-07 16:00 +0200
      Re: Removal of easy_install Ben Finney <bignose@debian.org> - 2018-05-08 02:00 +0200
        Re: Removal of easy_install Scott Talbert <swt@techie.net> - 2018-05-08 02:50 +0200
          Re: Removal of easy_install Ben Finney <bignose@debian.org> - 2018-05-08 03:50 +0200
  Re: Removal of easy_install Matthias Klose <doko@debian.org> - 2018-05-09 12:40 +0200

csiph-web