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


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

Re: /usr/bin/python2 shebangs

From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: /usr/bin/python2 shebangs
Date 2016-11-10 03:40 +0100
Message-ID <sBNrr-7MJ-7@gated-at.bofh.it> (permalink)
References <syIeB-1oI-1@gated-at.bofh.it> <sAPEZ-1Vz-19@gated-at.bofh.it> <sATIB-4Mo-19@gated-at.bofh.it> <sAU1Y-4T4-35@gated-at.bofh.it> <sBDBL-18k-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Nov 10, 2016 at 12:02 AM, Thomas Goirand wrote:

> The point is, some people also use venvs. In a world of Python 3 only,
> some upstream will continue to use /usr/bin/python (IMO, rightly). We
> should be able to provide a default implementation for these scripts.

I think this is a bug in virtualenv:

$ virtualenv -p /usr/bin/python3 test
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/pabs/test/bin/python3
Also creating executable in /home/pabs/test/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
$ virtualenv -p python3 test
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/pabs/test/bin/python3
Also creating executable in /home/pabs/test/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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


Thread

/usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 15:30 +0100
  Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 16:40 +0100
    Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 22:20 +0100
      Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 23:10 +0100
        Re: /usr/bin/python2 shebangs Donald Stufft <donald@stufft.io> - 2016-11-02 01:50 +0100
          Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-02 02:10 +0100
          Python 4 and ‘python3’ (was:  /usr/bin/python2 shebangs) Ben Finney <bignose@debian.org> - 2016-11-02 04:00 +0100
            Re: Python 4 and ‘python3’ (was:  /usr/bin/python2 shebangs) Barry Warsaw <barry@debian.org> - 2016-11-02 15:10 +0100
              Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-02 23:30 +0100
                Re: Python 4 and ‘python3’ Barry Warsaw <barry@debian.org> - 2016-11-02 23:50 +0100
                Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-03 00:50 +0100
        Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-07 11:50 +0100
          Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-07 16:10 +0100
            Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-07 16:30 +0100
              Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-09 17:10 +0100
                Re: /usr/bin/python2 shebangs Paul Wise <pabs@debian.org> - 2016-11-10 03:40 +0100

csiph-web