#!/bin/sh # switch directory into temp dir to ensure we don't try to use the # 'xattr.so' from the source package (if autopkgtest has built the # package): cd "$ADTTMP/" # and now simply import the modules: python2 -c 'import xattr; print xattr; print xattr.__version__' python2-dbg -c 'import xattr; print xattr; print xattr.__version__' python3 -c 'import xattr; print(xattr); print(xattr.__version__)' python3-dbg -c 'import xattr; print(xattr); print(xattr.__version__)'