File: using_python3_interpreter.patch

package info (click to toggle)
tipp 1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 676 kB
  • sloc: java: 4,698; python: 1,892; xml: 62; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Marking the Python interpreter as python3
 This is to conform to Debian Python policy.
Author: Pierre Gruet <pgt@debian.org>
Origin: https://www.debian.org/doc/packaging-manuals/python-policy/programs.html#interpreter-directive
Forwarded: https://github.com/smirarab/sepp/issues/88
Last-Update: 2020-10-07

--- a/run_tipp.py
+++ b/run_tipp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 from tipp.exhaustive_tipp import main
 
--- a/run_tipp_tool.py
+++ b/run_tipp_tool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-