Commit Graph

2 Commits

Author SHA1 Message Date
Andreas Jaeger 27f0c35a72 Improve tools/tox_install.sh
Inspired from the tox_install script in the python-openstackclient, this
commit brings in the following improvements to python-glanceclient's
tools/tox_install.sh:

* Do not leave temporary directory around, instead delete temporary
  directory directly after usage (change
  I939eae82dba3287fd4e4086128ebf4609a0e0770).
* Do not set ZUUL_BRANCH explicitely and remove unused if condition
  (change I0077c986a17d6bb92791474e03d1e77776e9382f).

Change-Id: Ibed7e2fbe35d2f2a520383e36ad31a5e7c8ef548
2016-08-30 20:40:33 +02:00
Niall Bunting 10ad2886e1 Add upper constraints to glanceclient
This will force pip install to use the upper-constraints.txt specified
version of pip modules. When you don't do this, you are out on the
bleeding edge and become unstable everytime some python library in the
world changes in a way that you don't expect.

The script is needed because it cleans up the conflicting entry that
corresponds to the client before applying it to source based installation.

Change-Id: I8f168fde04bf9e421d9a39e91a041512bf4f2b79
Closes-Bug: 1563038
2016-06-03 14:21:15 +00:00