1#!/bin/bash 2 3python3 -m pip install virtualenv 4 5if [ $? -ne 0 ]; then 6 echo "Virtualenv must be installed to run the upload tests. Run: " >&2 7 echo " sudo python3 -m pip install virtualenv" >&2 8 exit 1 9fi 10 11virtualenv='/tmp/acts_preupload_virtualenv' 12 13python3 -m virtualenv -p python3 $virtualenv 14cp -r acts/framework $virtualenv/ 15cd $virtualenv/framework 16$virtualenv/bin/python3 setup.py develop 17cd - 18