File: import-py3

package info (click to toggle)
pyparsing 2.0.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,196 kB
  • ctags: 6,279
  • sloc: python: 11,708; makefile: 35; sh: 33
file content (13 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -efu

PYS=${PYS:-"$(py3versions -r 2>/dev/null)"}

cd $ADTTMP
for py in $PYS; do
    echo "=== $py ==="
    fn=$($py -c "import pyparsing; print(pyparsing.__file__)")
    # runs some basic functions, output looks like errors but its intentional
    $py $fn
done