usage()
{
- echo "Usage: prep-for-debianish-build [python2|python3] [pyxattr|xattr]"
+ echo "Usage: prep-for-debianish-build [python3] [pyxattr|xattr]"
}
export DEBIAN_FRONTEND=noninteractive
common_debs="$common_debs duplicity rdiff-backup rsnapshot dosfstools kmod"
common_debs="$common_debs pkg-config libreadline-dev libacl1-dev"
-pyver="${1:-python2}"
+pyver="${1:-python3}"
xattr="${2:-pyxattr}"
# dosfstools: for vfat for the (root) tests
case "$pyver" in
- python2)
- apt-get install -y \
- $common_debs \
- python2.7-dev python-fuse \
- python-"$xattr" python-tornado python-pytest \
- python-pytest-xdist pylint
- ;;
python3)
apt-get install -y \
$common_debs \