[CalendarServer-changes] [12746] twext/trunk/bin/_build.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:24:11 PDT 2014


Revision: 12746
          http://trac.calendarserver.org//changeset/12746
Author:   wsanchez at apple.com
Date:     2014-02-24 18:15:35 -0800 (Mon, 24 Feb 2014)
Log Message:
-----------
sync

Modified Paths:
--------------
    twext/trunk/bin/_build.sh

Modified: twext/trunk/bin/_build.sh
===================================================================
--- twext/trunk/bin/_build.sh	2014-02-24 19:14:24 UTC (rev 12745)
+++ twext/trunk/bin/_build.sh	2014-02-25 02:15:35 UTC (rev 12746)
@@ -97,14 +97,18 @@
 
   python="${py_bindir}/python";
 
-  project="$(setup_print name)";
-
   if [ -z "${TWEXT_PKG_CACHE-}" ]; then
     dep_packages="${dev_home}/pkg";
   else
     dep_packages="${TWEXT_PKG_CACHE}";
   fi;
 
+  if [ ! -d "${py_root}" ]; then
+    "${bootstrap_python}" -m virtualenv "${py_root}";
+  fi;
+
+  project="$(setup_print name)";
+
   export PYTHONPATH="${wd}:${PYTHONPATH:-}";
   export _DEVELOP_PROJECT_="${project}";
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/7d55dfda/attachment.html>


More information about the calendarserver-changes mailing list