File: run-examples.sh

package info (click to toggle)
python-tooz 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 868 kB
  • sloc: python: 5,585; sh: 158; makefile: 27
file content (10 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e

python_version=$(python --version 2>&1)
echo "Running using '$python_version'"
for filename in examples/*.py; do
    echo "Activating '$filename'"
    python $filename
done