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


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

Re: Removal of easy_install

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Removal of easy_install
Date 2018-05-08 03:50 +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>
Organization linux.* mail to news gateway

Show all headers | 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