[CalendarServer-changes] [14239] CalendarServer/trunk/bin/_build.sh

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 18 17:53:32 PST 2014


Revision: 14239
          http://trac.calendarserver.org//changeset/14239
Author:   wsanchez at apple.com
Date:     2014-12-18 17:53:32 -0800 (Thu, 18 Dec 2014)
Log Message:
-----------
Don't put setuptools and pip into the virtualenv.  We already have them in ve_tools.

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

Modified: CalendarServer/trunk/bin/_build.sh
===================================================================
--- CalendarServer/trunk/bin/_build.sh	2014-12-19 01:52:50 UTC (rev 14238)
+++ CalendarServer/trunk/bin/_build.sh	2014-12-19 01:53:32 UTC (rev 14239)
@@ -596,7 +596,10 @@
 
   if [ ! -d "${py_virtualenv}" ]; then
     bootstrap_virtualenv;
-    "${bootstrap_python}" -m virtualenv --system-site-packages "${py_virtualenv}";
+    "${bootstrap_python}" -m virtualenv  \
+      --system-site-packages             \
+      --no-setuptools                    \
+      "${py_virtualenv}";
   fi;
 
   cd "${wd}";
@@ -702,3 +705,20 @@
   c_dependencies;
   py_dependencies;
 }
+
+
+develop_clean () {
+  init_build;
+
+  # Clean
+  rm -rf "${dev_roots}";
+  rm -rf "${py_virtualenv}";
+}
+
+
+develop_distclean () {
+  init_build;
+
+  # Clean
+  rm -rf "${dev_home}";
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20141218/16c7b0db/attachment-0001.html>


More information about the calendarserver-changes mailing list