[CalendarServer-changes] [14393] CalendarServer/trunk/bin/package

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 9 16:38:48 PST 2015


Revision: 14393
          http://trac.calendarserver.org//changeset/14393
Author:   wsanchez at apple.com
Date:     2015-02-09 16:38:48 -0800 (Mon, 09 Feb 2015)
Log Message:
-----------
Create virtualenv before py_dependencies does so we can set different options.

Modified Paths:
--------------
    CalendarServer/trunk/bin/package

Modified: CalendarServer/trunk/bin/package
===================================================================
--- CalendarServer/trunk/bin/package	2015-02-10 00:32:26 UTC (rev 14392)
+++ CalendarServer/trunk/bin/package	2015-02-10 00:38:48 UTC (rev 14393)
@@ -110,6 +110,14 @@
   py_virtualenv="${destination}/virtualenv";
       py_bindir="${py_virtualenv}/bin";
 
+  if [ ! -d "${py_virtualenv}" ]; then
+    bootstrap_virtualenv;
+    "${bootstrap_python}" -m virtualenv  \
+      --always-copy                      \
+      --no-setuptools                    \
+      "${py_virtualenv}";
+  fi;
+
   c_dependencies;
   py_dependencies;
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150209/3894f7e8/attachment.html>


More information about the calendarserver-changes mailing list