mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-06 05:16:40 +08:00
add python3 packages
This commit is contained in:
Vendored
+12
-4
@@ -1,11 +1,19 @@
|
||||
#!/bin/sh
|
||||
set -efu
|
||||
|
||||
pys="$(pyversions -r 2>/dev/null)"
|
||||
pys="$(pyversions -rv 2>/dev/null)"
|
||||
pkgbuild=${pkgbuild:-no}
|
||||
|
||||
cd "$ADTTMP"
|
||||
srcdir=$PWD
|
||||
|
||||
for py in $pys; do
|
||||
echo "=== $py ==="
|
||||
$py /usr/bin/nosetests -v skimage 2>&1
|
||||
echo "=== python$py ==="
|
||||
if [ "$pkgbuild" = "yes" ]; then
|
||||
export PYTHONPATH="$srcdir/debian/tmp/usr/lib/python$py/dist-packages"
|
||||
cd "$srcdir/build/"
|
||||
else
|
||||
cd "$ADTTMP"
|
||||
fi
|
||||
|
||||
python$py /usr/bin/nosetests -s -v skimage 2>&1
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user