Skip to content

Invalid shebang in pypi installs #1227

@chrisgorgo

Description

@chrisgorgo

When I install nipy from pypi:

[chrisgor@sherlock-ln02 ~]$ pip install nipype
Collecting nipype
  Using cached nipype-0.11.0-py2-none-any.whl
Installing collected packages: nipype
Successfully installed nipype-0.11.0

The shbang is set incorrectly:

[chrisgor@sherlock-ln02 ~]$ head `which nipype_display_crash`
#!/home/travis/miniconda/envs/testenv/bin/python
"""Displays crash information from Nipype crash files. For certain crash files,
one can rerun a failed node in a temp directory.

Examples:

nipype_display_crash crashfile.pklz
nipype_display_crash crashfile.pklz -r -i
nipype_display_crash crashfile.pklz -r -i

When I install the same version from github:

[chrisgor@sherlock-ln02 ~]$ pip install https://github.com/nipy/nipype/archive/0.11.0.zip
Collecting https://github.com/nipy/nipype/archive/0.11.0.zip
  Downloading https://github.com/nipy/nipype/archive/0.11.0.zip
     | 3.5MB 42.0MB/s
Installing collected packages: nipype
  Running setup.py install for nipype
Successfully installed nipype-0.11.0

It is set correctly:

[chrisgor@sherlock-ln02 ~]$ head `which nipype_display_crash`
#!/share/PI/russpold/software/anaconda/bin/python
"""Displays crash information from Nipype crash files. For certain crash files,
one can rerun a failed node in a temp directory.

Examples:

nipype_display_crash crashfile.pklz
nipype_display_crash crashfile.pklz -r -i
nipype_display_crash crashfile.pklz -r -i

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions