File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ Description: lintian shows "python-script-but-no-python-dep" when "python2" is
2
+ used in the hasbang. It can be changed to "python", as long Python 2 is the
3
+ default interpreter (instead of Python 3).
4
+ Author: Tiago Ilieve <tiago.ilieve@gmail.com>
5
+
6
+ --- a/pythonpy/__main__.py
7
+ +++ b/pythonpy/__main__.py
8
+ @@ -1,4 +1,4 @@
9
+ - #!/usr/bin/env python2
10
+ + #!/usr/bin/env python
11
+ from __future__ import (unicode_literals, absolute_import,
12
+ print_function, division)
13
+ import sys
14
+ --- a/pythonpy/pycompleter.py
15
+ +++ b/pythonpy/pycompleter.py
16
+ @@ -1,4 +1,4 @@
17
+ - #!/usr/bin/env python2
18
+ + #!/usr/bin/env python
19
+ from __future__ import (unicode_literals, absolute_import,
20
+ print_function, division)
21
+ import sys
Original file line number Diff line number Diff line change 1
1
remove_entry_points_scripts.patch
2
2
remove_find_pycompletion.patch
3
+ fix_python_hashbang.patch
You can’t perform that action at this time.
0 commit comments