bad interpreter error with python-subunit 1.0.0 installed by pip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subunit |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
With the latest python-subunit 1.0.0, if I used pip install python-subunit. 2 installed scripts under /usr/bin/ will have bad interpreter set at the first line with #!:
/usr/bin/
#!/home/
# subunit: extensions to python unittest to get test results from subprocesses.
# Copyright (C) 2009 Robert Collins <email address hidden>
#
#!/home/
# subunit: extensions to python unittest to get test results from subprocesses.
# Copyright (C) 2010 Jelmer Vernooij <email address hidden>
#
However, if I download the source code from pypi, all the interpreter has been set correctly to #!/usr/bin/env python.
I noticed that these bad scripts are included in pypi python wheel file:
https:/
I've removed the wheel, will dig into why that happened later.