From cda5813e2ee25e936fc9fd28f8dc049ec72d428d Mon Sep 17 00:00:00 2001 From: Kiriti Gowda Date: Mon, 20 Sep 2021 09:37:52 -0700 Subject: [PATCH] Setup Script - Python3 & Python2 Support (#628) * Setup Script - Python3 & Python2 Support * Setup - Updates --- MIVisionX-setup.py | 6 ++++-- README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/MIVisionX-setup.py b/MIVisionX-setup.py index 386577ce4b..46a768fc70 100644 --- a/MIVisionX-setup.py +++ b/MIVisionX-setup.py @@ -30,7 +30,7 @@ __author__ = "Kiriti Nagesh Gowda" __copyright__ = "Copyright 2018 - 2021, AMD ROCm MIVisionX" __license__ = "MIT" -__version__ = "1.9.91" +__version__ = "1.9.92" __maintainer__ = "Kiriti Nagesh Gowda" __email__ = "Kiriti.NageshGowda@amd.com" __status__ = "Shipping" @@ -140,10 +140,12 @@ if "centos-7" in platfromInfo or "redhat-7" in platfromInfo: linuxCMake = 'cmake3' os.system(linuxSystemInstall+' install cmake3') -elif "Ubuntu" in platfromInfo: +elif "Ubuntu" in platfromInfo or os.path.exists('/usr/bin/apt-get'): linuxSystemInstall = 'apt-get -y' linuxSystemInstall_check = '--allow-unauthenticated' linuxFlag = '-S' + if not "Ubuntu" in platfromInfo: + platfromInfo = platfromInfo+'-Ubuntu' elif os.path.exists('/usr/bin/zypper'): linuxSystemInstall = 'zypper -n' linuxSystemInstall_check = '--no-gpg-checks' diff --git a/README.md b/README.md index f76eb33610..14f6d16253 100644 --- a/README.md +++ b/README.md @@ -404,7 +404,7 @@ sudo docker run -it --device=/dev/kfd --device=/dev/dri --cap-add=SYS_RAWIO --de * OpenCV - [3.4.0](https://github.com/opencv/opencv/releases/tag/3.4.0) * RPP - [0.7](https://github.com/GPUOpen-ProfessionalCompute-Libraries/rpp/releases/tag/0.7) * Dependencies for all the above packages -* MIVisionX Setup Script - `V1.9.91` +* MIVisionX Setup Script - `V1.9.92` ### Latest Release