[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread Tzu-ping Chung
> On 23/7, 2020, at 06:51, David Mathog wrote: > > On Wed, Jul 22, 2020 at 1:27 PM Paul Moore wrote: >> >> On Wed, 22 Jul 2020 at 19:31, David Mathog wrote: >>> but that shebang has to be corrected when the installation is moved to a >>> normal >>> environment, which my code is doing now.)

[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread David Mathog
On Wed, Jul 22, 2020 at 1:27 PM Paul Moore wrote: > > On Wed, 22 Jul 2020 at 19:31, David Mathog wrote: > > but that shebang has to be corrected when the installation is moved to a > > normal > > environment, which my code is doing now.) > > Moving files that are installed by Python packaging

[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread Paul Moore
On Wed, 22 Jul 2020 at 19:31, David Mathog wrote: > but that shebang has to be corrected when the installation is moved to a > normal > environment, which my code is doing now.) Moving files that are installed by Python packaging tools isn't supported. It might work, and you can probably make

[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread John Thorvald Wodder II
On 2020 Jul 22, at 14:30, David Mathog wrote: > Scripts usually end up in a "bin" directory on linux. Is that part of > the installation standard or could a package put them in an arbitrary > path (other than under "site-packages") under the venv's root, for > instance in a directory named

[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread David Mathog
On Wed, Jul 22, 2020 at 3:41 AM Thomas Kluyver wrote: > > On Tue, 21 Jul 2020, at 21:50, David Mathog wrote: > > ./lib/python3.6/site-packages/pip/_vendor/appdirs.py:#!/usr/bin/env python > > Python packaging tools like pip generally differentiate between *scripts*, > which are installed to be

[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread Filipe Laíns
On Tue, 2020-07-21 at 14:24 -0700, David Mathog wrote: > On Tue, Jul 21, 2020 at 2:03 PM Filipe Laíns > wrote: > > On Tue, 2020-07-21 at 13:51 -0700, David Mathog wrote: > > > biopython-1.77, for instance, when installed into a virtualenv > > > with > > > pip3, has many of these shebangs: > > >

[Distutils] Re: Fwd: Re: Use of "python" shebang an installation error?

2020-07-22 Thread Thomas Kluyver
On Tue, 21 Jul 2020, at 21:50, David Mathog wrote: > ./lib/python3.6/site-packages/pip/_vendor/appdirs.py:#!/usr/bin/env python Python packaging tools like pip generally differentiate between *scripts*, which are installed to be run from the command line, and *modules*, which are imported from