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 98566 6133c00430fcfb9bb6e87cc4252d056bdac5be92
parent 98565 94e9ab59900efb7d527b1a19f04b86025887afa2
child 98567 95a2e9d06e31c219a6b43201c6305279b66c1c8e
push id1116
push userlsblakk@mozilla.com
push dateMon, 16 Jul 2012 19:38:18 +0000
treeherdermozilla-beta@95f959a8b4dc [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