Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Check if there is not virtualenv and create it in init_build, cuz we …

…need it.

git-svn-id: https://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk@12617 e27351fd-9f3e-4f54-a53b-843176b1656c
  • Loading branch information
wsanchez committed Feb 8, 2014
1 parent ec18cea commit 420f975f13beff2524541e360bc6af9ebf4a37e2
Showing with 6 additions and 2 deletions.
  1. +6 −2 bin/_build.sh
@@ -97,14 +97,18 @@ init_build () {

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}";

0 comments on commit 420f975

Please sign in to comment.
You can’t perform that action at this time.