File: fix_python_interpreter.patch

package info (click to toggle)
libsbml 5.20.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 117,108 kB
  • sloc: cpp: 469,781; xml: 364,270; ansic: 54,078; python: 12,540; makefile: 9,757; sh: 9,245; cs: 8,586; java: 8,151; perl: 6,133; ruby: 4,760; javascript: 1,605; php: 202; csh: 3
file content (16 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 26 Jan 2020 20:54:35 +0100
Descriptions: Examples are calling Python2 which is not helpful.  This patch enforces Python3
Note: One upstream file contains a space in file name:
     examples/python/distrib/createStatisticsExample .py
 Quilt seems unable to deal with this - if users want to use this
 example they simply need to fix it manually.

--- a/examples/python/fbc/print_gene_product_association.py
+++ b/examples/python/fbc/print_gene_product_association.py
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/usr/bin/python3
 import libsbml
 import sys