From 572abd97b14f6ad4fb838cb89257104de7bbe419 Mon Sep 17 00:00:00 2001 From: wanchao-xu Date: Fri, 12 Apr 2024 15:29:47 +0800 Subject: [PATCH] Fix the python version issue. Change-Id: Id634c2657ae201b0852abd616bb3e945bebd0ffa Signed-off-by: wanchao-xu --- debian/control | 2 +- debian/rules | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index b24241f..3e798d8 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: itest-core Section: devel Priority: extra Maintainer: Junchun Guan -Build-Depends: debhelper, python (>= 2.6), python-setuptools +Build-Depends: debhelper, python2 | python, python-setuptools Standards-Version: 3.8.0 X-Python-Version: >= 2.6 Homepage: http://www.tizen.org diff --git a/debian/rules b/debian/rules index 37dbe9d..6bfb9c5 100644 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ dh $@ override_dh_auto_install: - python setup.py install --root=debian/tmp --prefix=/usr + python2 setup.py install --root=debian/tmp --prefix=/usr override_dh_auto_test: @echo 'Skipping autotests' diff --git a/setup.py b/setup.py index e6c6932..d174fc6 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from setuptools import setup from itest import __version__ -- 2.34.1