File: add-python-shebang.patch

package info (click to toggle)
qcumber 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,276 kB
  • sloc: python: 3,097; sh: 153; makefile: 18
file content (33 lines) | stat: -rw-r--r-- 777 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
24
25
26
27
28
29
30
31
32
33
Author: Nilesh Patra <npatra974@gmail.com>
Description: Add python3 shebang where necessary
Last-Changed: September 18, 2020
Forwarded: Not-Needed
--- a/input_utils.py
+++ b/input_utils.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 '''utils module for snakemake pipeline
 
--- a/modules/json_output.py
+++ b/modules/json_output.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 import json
 import re
 import sys
--- a/modules/utils.py
+++ b/modules/utils.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 import fileinput
 import matplotlib.pyplot as plt
 import numpy
--- a/test/test_qcumber2.py
+++ b/test/test_qcumber2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 from contextlib import contextmanager, ExitStack
 import argparse