diff --git a/tarball_script.sh b/tarball_script.sh index 78403fc3..eca814bb 100755 --- a/tarball_script.sh +++ b/tarball_script.sh @@ -100,7 +100,7 @@ SEPARATOR=${SEPARATOR:-'~'} rm -f dist/*.tar.gz if [ -f setup.py ] ; then # swift has no virtualenv information in its tree. - if [ -d .*-venv ] ; then + if [ -d .*-venv -o -d tools/with_venv.sh ] ; then tools/with_venv.sh python setup.py sdist else python setup.py sdist