summaryrefslogtreecommitdiff
path: root/tools/integration.sh
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2015-01-28 06:57:06 -0800
committerMonty Taylor <mordred@inaugust.com>2015-01-28 07:05:53 -0800
commit381b6471b6dddce6bf741ee3795957e25d977b40 (patch)
treec372bdd73d8d9619aa640d264b3bdffdaa87f7f4 /tools/integration.sh
parent0a92e4d0dc4c69db0f758e9e557a4318314240d2 (diff)
downloadpbr-381b6471b6dddce6bf741ee3795957e25d977b40.tar.gz
Support script text override for newer develop
setuptools > 12 has a new flow for writing out generated script text. It's nicer, actually, because it means we can just subclass and extend one method instead of monekypatching. Change-Id: I56e7bea60df8a59d859575d426ce93c45ffee314
Diffstat (limited to 'tools/integration.sh')
-rw-r--r--tools/integration.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/integration.sh b/tools/integration.sh
index df055d8..a385203 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -115,6 +115,13 @@ eppbrdir=$tmpdir/eppbrdir
git clone $REPODIR/pbr $eppbrdir
$epvenv/bin/pip install -e $eppbrdir
+# First check develop
+PBR_VERSION=0.0 $epvenv/bin/python setup.py develop
+cat $epvenv/bin/test_cmd
+grep 'PBR Generated' $epvenv/bin/test_cmd
+PBR_VERSION=0.0 $epvenv/bin/python setup.py develop --uninstall
+
+# Now check install
PBR_VERSION=0.0 $epvenv/bin/python setup.py install
cat $epvenv/bin/test_cmd
grep 'PBR Generated' $epvenv/bin/test_cmd