Fix the python version issue. 79/309579/5 accepted/tools_devbase_tools_legacy devel-py2 accepted/tools/devbase/tools/legacy/20250527.042516
authorwanchao-xu <wanchao.xu@samsung.com>
Fri, 12 Apr 2024 07:29:47 +0000 (15:29 +0800)
committerwanchao-xu <wanchao.xu@samsung.com>
Fri, 12 Apr 2024 07:54:27 +0000 (15:54 +0800)
Change-Id: Id634c2657ae201b0852abd616bb3e945bebd0ffa
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
debian/control
debian/rules
setup.py

index b24241fee0a185468177f032f22a289b5bf61b18..3e798d82f10be26d982d09a320c41a93b599266a 100644 (file)
@@ -2,7 +2,7 @@ Source: itest-core
 Section: devel
 Priority: extra
 Maintainer: Junchun Guan <junchunx.guan@intel.com>
-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
index 37dbe9d5c4fa677133b41c7dab7338a4b9d3e597..6bfb9c50a4b45934572a3dbf3baca101485dbdc9 100644 (file)
@@ -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'
index e6c69329b940f8f1b06f8cbd9583e08aabf46bd2..d174fc6e86563aa2ddd93e293227a9d11bd26cd5 100644 (file)
--- 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__