bug 661908 - add mozbase packages to virtualenv. r=khuey
authorTed Mielczarek <ted.mielczarek@gmail.com>
Wed, 25 Apr 2012 13:37:16 -0400
changeset 94881 52b9038fdc68690ee4523d539444b6d6d2931f8c
parent 94880 a70c497939cfcaa12550f6aef4550a59fddafdc8
child 94882 f387bc4ee25e45e07d9e7c583735a07fce51dfe1
push id22763
push useremorley@mozilla.com
push dateFri, 25 May 2012 13:26:36 +0000
treeherdermozilla-central@3871d6ca5fb2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs661908
milestone15.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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