Skip to content

Commit

Permalink
Setup Script - Python3 & Python2 Support (#628)
Browse files Browse the repository at this point in the history
* Setup Script - Python3 & Python2 Support

* Setup - Updates
  • Loading branch information
kiritigowda authored Sep 20, 2021
1 parent d22b94e commit cda5813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions MIVisionX-setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cda5813

Please sign in to comment.