File: with_venv.sh

package info (click to toggle)
python-glanceclient 1%3A0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 680 kB
  • ctags: 987
  • sloc: python: 5,914; sh: 47; makefile: 42
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 -- $@