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 94512 6133c00430fcfb9bb6e87cc4252d056bdac5be92
parent 94511 94e9ab59900efb7d527b1a19f04b86025887afa2
child 94513 95a2e9d06e31c219a6b43201c6305279b66c1c8e
push id22725
push useremorley@mozilla.com
push dateTue, 22 May 2012 09:50:27 +0000
treeherdermozilla-central@ce618ce8d84a [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