File: python3.patch

package info (click to toggle)
r-cran-irace 3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,732 kB
  • sloc: sh: 761; python: 422; ansic: 75; makefile: 9
file content (28 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 16 Jul 2019 11:58:36 +0200
Description: The scripts are Python3 compatible but simply declare the old interpreter

--- a/inst/examples/target-runner-python/target-runner-acotsp.py
+++ b/inst/examples/target-runner-python/target-runner-acotsp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 ###############################################################################
 # This script is the command that is executed every run.
 # Check the examples in examples/
--- a/inst/examples/target-runner-python/target-runner-advanced.py
+++ b/inst/examples/target-runner-python/target-runner-advanced.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 ##############################################################################
 #                                                                            #
 # With this target-runner, you can:                                          #
--- a/inst/examples/target-runner-python/trivial/target-runner.py
+++ b/inst/examples/target-runner-python/trivial/target-runner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 ###############################################################################
 # This script is the command that is executed every run.
 # Check the examples in examples/