From: wanchao-xu Date: Fri, 12 Apr 2024 07:29:47 +0000 (+0800) Subject: Fix the python version issue. X-Git-Tag: accepted/tools/devbase/tools/legacy/20250527.042516^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftools_devbase_tools_legacy;p=tools%2Fitest-core.git Fix the python version issue. Change-Id: Id634c2657ae201b0852abd616bb3e945bebd0ffa Signed-off-by: wanchao-xu --- 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__