* only create "wheelhouse" directory for tox when it is populated
with all packages in *requiresments.txt. before than, the wheels
are put in "wheelhouse-wip"
Fixes: #11869
Signed-off-by: Kefu Chai <kchai@redhat.com>
mkdir -p install-deps-cache
top_srcdir=$(pwd)
export XDG_CACHE_HOME=$top_srcdir/install-deps-cache
+wip_wheelhouse=wheelhouse-wip
#
# preload python modules so that tox can run without network access
for interpreter in python2.7 python3 ; do
type $interpreter > /dev/null 2>&1 || continue
. $top_srcdir/install-deps-$interpreter/bin/activate
- get_pip_and_wheel wheel $require || exit 1
+ get_pip_and_wheel "wheel -w $wip_wheelhouse" $require || exit 1
done
+ mv $wip_wheelhouse wheelhouse
fi
)
done
*.egg
dist
build
-wheelhouse
+wheelhouse*
*.log
*.trs