2014-11-19 02:58:04 |
Yi Ming Yin |
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/subunit2junitxml:
#!/home/robertc/work/nova/.venv/bin/python
# subunit: extensions to python unittest to get test results from subprocesses.
# Copyright (C) 2009 Robert Collins <robertc@robertcollins.net>
#
#!/home/robertc/work/nova/.venv/bin/python
# subunit: extensions to python unittest to get test results from subprocesses.
# Copyright (C) 2010 Jelmer Vernooij <jelmer@samba.org>
#
However, if I download the source code from pypi, all the interpreter has been set correctly to #!/usr/bin/env python. |
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/subunit2junitxml:
#!/home/robertc/work/nova/.venv/bin/python
# subunit: extensions to python unittest to get test results from subprocesses.
# Copyright (C) 2009 Robert Collins <robertc@robertcollins.net>
#
#!/home/robertc/work/nova/.venv/bin/python
# subunit: extensions to python unittest to get test results from subprocesses.
# Copyright (C) 2010 Jelmer Vernooij <jelmer@samba.org>
#
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://pypi.python.org/packages/2.7/p/python-subunit/python_subunit-1.0.0-py2.py3-none-any.whl#md5=57780d8cf11e9968ae78fd5ea32397af |
|