summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-05 18:13:54 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-08 09:31:04 +0000
commit76c6c50405c6cbb1d08bdd7b5d27c657fa5d38b6 (patch)
tree6428e5dc683f159bdc14cf15a3b4e14839e43552
parent22772cc5293af7944b5fa2fd374652827cb4229d (diff)
Use python 3 for utilities
There're no python2-specific code in there so we can switch right away without waiting till 2020 for python 2 deprecation. Related: OS#2819 Change-Id: I8d34aed124b00c5dd2ab1bcc84bbfa8c620282cc
-rw-r--r--debian/control2
-rw-r--r--utils/conv_codes_gsm.py2
-rw-r--r--utils/conv_gen.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index 64c48709..2a6fd4a9 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9),
libpcsclite-dev,
pkg-config,
libtalloc-dev,
- python (>= 2.7.6)
+ python3
Standards-Version: 3.9.8
Vcs-Git: git://git.osmocom.org/libosmocore.git
Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary
diff --git a/utils/conv_codes_gsm.py b/utils/conv_codes_gsm.py
index eeed4fd0..72681e74 100644
--- a/utils/conv_codes_gsm.py
+++ b/utils/conv_codes_gsm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from conv_gen import ConvolutionalCode
from conv_gen import poly
diff --git a/utils/conv_gen.py b/utils/conv_gen.py
index 6b6b2677..d2eda152 100644
--- a/utils/conv_gen.py
+++ b/utils/conv_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python3
mod_license = """
/*