[CalendarServer-changes] [14274] CalendarServer/trunk/support/_cache_deps
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jan 8 12:19:12 PST 2015
Revision: 14274
http://trac.calendarserver.org//changeset/14274
Author: wsanchez at apple.com
Date: 2015-01-08 12:19:12 -0800 (Thu, 08 Jan 2015)
Log Message:
-----------
Don't require pip to be installed.
Modified Paths:
--------------
CalendarServer/trunk/support/_cache_deps
Modified: CalendarServer/trunk/support/_cache_deps
===================================================================
--- CalendarServer/trunk/support/_cache_deps 2015-01-08 19:52:41 UTC (rev 14273)
+++ CalendarServer/trunk/support/_cache_deps 2015-01-08 20:19:12 UTC (rev 14274)
@@ -58,6 +58,13 @@
# Download dependencies
#
+tmp="$(mktemp -d -t CalendarServer_ve_tools)";
+
+# Bootstrap virtualenv and friends so we can use them
+py_ve_tools="${tmp}/ve_tools";
+export PYTHONPATH="${py_ve_tools}/lib:${wd}:${PYTHONPATH:-}";
+bootstrap_virtualenv;
+
ruler "Downloading Python requirements for .[${extra_features}]";
echo "";
pip_download \
@@ -66,6 +73,7 @@
--requirement="${requirements}" \
;
+rm -rf "${tmp}";
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150108/79a69c7a/attachment.html>
More information about the calendarserver-changes
mailing list