#!/bin/bash

# Find different versions of python executables

PYTHONEXP="python[23]\.[0-9]"
case $BIRCH_PLATFORM in
  "linux-x86_64" | "linux-arm64" )
      find /usr -type f -name $PYTHONEXP -print 2>/dev/null
      find /opt -type f -name $PYTHONEXP -print 2>/dev/null
    ;;
  "osx-x86_64" | "macos-arm64")
      find /Library/Python -type f -name $PYTHONEXP -print 2>/dev/null
    ;;
  *)
    ;;
esac
