File: with_venv.sh

package info (click to toggle)
python-glanceclient 1%3A4.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,688 kB
  • sloc: python: 16,773; sh: 71; makefile: 29
file content (10 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (3)
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 -- $@