Upgrade distribute package when creating the virtualenv.
authorRyan Kelly <rfkelly@mozilla.com>
Thu, 21 Jun 2012 14:32:16 +1000
changeset 525 bde6b5c5baad005b626dab3e8ce477c26c4c209e
parent 524 7e1033eedfc013dcb51d3d1e3b21f3bd9d287604
child 527 5aca1977e3e35f12a785213c1c363e07a0a5a10f
push id112
push userrkelly@mozilla.com
push dateThu, 21 Jun 2012 04:32:40 +0000
Upgrade distribute package when creating the virtualenv. This should fix the occasional KeyError we've been getting during build.
Makefile
--- a/Makefile
+++ b/Makefile
@@ -35,16 +35,17 @@ INSTALL += $(INSTALLOPTIONS)
 
 .PHONY: all build update test build_rpms
 
 
 all:	build
 
 build:
 	$(VIRTUALENV) --no-site-packages .
+	$(INSTALL) Distribute
 	$(INSTALL) MoPyTools
 	$(INSTALL) Nose
 	$(INSTALL) WebTest
 	$(BUILDAPP) -c $(CHANNEL) $(PYPIOPTIONS) $(DEPS)
 
 update:
 	$(BUILDAPP) -c $(CHANNEL) $(PYPIOPTIONS) $(DEPS)