diff --git a/build.py b/build.py index be016a30e..8a1ec4a36 100644 --- a/build.py +++ b/build.py @@ -28,7 +28,9 @@ x('pip install -r requirements.txt') if install_mode == 'pip': x('python setup.py sdist') - x('pip install dist/*') + dists = os.listdir('dist') + assert len(dists) == 1 + x('pip install dist/%s' % dists[0]) elif install_mode == 'setup-install': x('python setup.py install')