bug 661908 - add mozbase packages to virtualenv. r=khuey
☠☠ backed out by a27219d06c49 ☠ ☠
authorTed Mielczarek <ted.mielczarek@gmail.com>
Wed, 25 Apr 2012 13:37:16 -0400
changeset 96779 6133c00430fcfb9bb6e87cc4252d056bdac5be92
parent 96778 94e9ab59900efb7d527b1a19f04b86025887afa2
child 96780 95a2e9d06e31c219a6b43201c6305279b66c1c8e
push id1439
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 20:19:22 +0000
treeherdermozilla-aurora@ea74834dccd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs661908
milestone15.0a1
bug 661908 - add mozbase packages to virtualenv. r=khuey
build/virtualenv/Makefile.in
--- a/build/virtualenv/Makefile.in
+++ b/build/virtualenv/Makefile.in
@@ -4,12 +4,31 @@
 
 DEPTH		= ../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
+# Paths here are topsrcdir-relative, and
+# must be in dependency-order.
+setuptools_packages := \
+  other-licenses/simplejson-2.1.1 \
+  testing/mozbase/manifestdestiny \
+  testing/mozbase/mozinfo \
+  testing/mozbase/mozinstall \
+  testing/mozbase/mozlog \
+  testing/mozbase/mozprocess \
+  testing/mozbase/mozprofile \
+  testing/mozbase/mozrunner \
+  $(NULL)
+
+
+define install_setuptools_package
+cd $(topsrcdir)/$(1)/; $(PYTHON) setup.py develop
+
+endef
+
 default::
-# install some packages
+	$(foreach package,$(setuptools_packages),$(call install_setuptools_package,$(package)))
 
 include $(topsrcdir)/config/rules.mk