From: Zack Cerza Date: Tue, 24 Nov 2015 18:46:50 +0000 (-0700) Subject: Work around setuptools 18.6 regression X-Git-Tag: 1.1.0~745^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F716%2Fhead;p=teuthology.git Work around setuptools 18.6 regression See https://bitbucket.org/pypa/setuptools/issues/464/typeerror-in-install_wrapper_scripts Signed-off-by: Zack Cerza --- diff --git a/bootstrap b/bootstrap index bc58352f..e1bc2058 100755 --- a/bootstrap +++ b/bootstrap @@ -114,7 +114,7 @@ if [ -z "$NO_CLOBBER" ] || [ ! -e ./virtualenv ]; then ./virtualenv/bin/pip install --upgrade pip # work-around change in pip 1.5 - ./virtualenv/bin/pip install setuptools --no-use-wheel --upgrade + ./virtualenv/bin/pip install 'setuptools<18.6' --no-use-wheel --upgrade fi ./virtualenv/bin/pip install --upgrade -r requirements.txt diff --git a/setup.py b/setup.py index 5128efa1..4c178bdb 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ setup( 'Topic :: System :: Distributed Computing', 'Topic :: System :: Filesystems', ], - install_requires=['setuptools', + install_requires=['setuptools < 18.6', 'gevent == 0.13.6', # 0.14 switches to libev, that means bootstrap needs to change too 'MySQL-python == 1.2.3', 'PyYAML',