python-novaclient doesnt have tools/with-venv.sh.

Change-Id: Icd49a88de4589cbe37c89f58fae1e3be7dc28d88
This commit is contained in:
Chuck Short
2011-12-02 10:01:21 -05:00
parent e74271422b
commit e1db25c84c

View File

@@ -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