Do the sdist check in a virtualenv
We trigger easy_install if we don't do this, which is not the point of the test. Change-Id: Iedd79d59ce0134017d9961fbe316babaee04e72f
This commit is contained in:
parent
73cd1a8733
commit
ab616fad7c
@ -18,8 +18,9 @@ venv=${1:-pep8}
|
||||
|
||||
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
|
||||
|
||||
python setup.py sdist
|
||||
virtualenv sdist_check && sdist_check/bin/pip install pbr && sdist_check/bin/python setup.py sdist
|
||||
sdistrc=$?
|
||||
rm -rf sdist_check
|
||||
|
||||
tox -v -e$venv
|
||||
rc=$?
|
||||
|
Loading…
Reference in New Issue
Block a user