File: with_venv.sh

package info (click to toggle)
python-glanceclient 1%3A2.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,428 kB
  • sloc: python: 14,764; sh: 110; makefile: 35
file content (10 lines) | stat: -rwxr-xr-x 195 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

command -v tox > /dev/null 2>&1
if [ $? -ne 0 ]; then
  echo 'This script requires "tox" to run.'
  echo 'You can install it with "pip install tox".'
  exit 1; 
fi

tox -evenv -- $@