Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Ben Finney Newsgroups: linux.debian.maint.python Subject: Re: Removal of easy_install Date: Tue, 08 May 2018 03:50:01 +0200 Message-ID: References: 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: 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 Cancel-Lock: sha1:zH4GwB60knP+HlxVAfBoNqXbRko= X-Mailing-List: archive/latest/15913 List-ID: List-URL: 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: <85d0y8p5q6.fsf@benfinney.id.au> <858t8vowhu.fsf@benfinney.id.au> X-Original-X-Complaints-To: usenet@blaine.gmane.org Xref: csiph.com linux.debian.maint.python:10509 Scott Talbert 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