File: with_venv.sh

package info (click to toggle)
python-glanceclient 1%3A2.0.0-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,204 kB
  • sloc: python: 12,499; sh: 109; makefile: 58
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 -- $@