From commits-return-1165-apmail-climate-commits-archive=climate.apache.org@climate.apache.org Wed Jun 4 20:33:55 2014 Return-Path: X-Original-To: apmail-climate-commits-archive@minotaur.apache.org Delivered-To: apmail-climate-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E526F108DA for ; Wed, 4 Jun 2014 20:33:54 +0000 (UTC) Received: (qmail 38835 invoked by uid 500); 4 Jun 2014 20:33:54 -0000 Delivered-To: apmail-climate-commits-archive@climate.apache.org Received: (qmail 38766 invoked by uid 500); 4 Jun 2014 20:33:54 -0000 Mailing-List: contact commits-help@climate.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@climate.apache.org Delivered-To: mailing list commits@climate.apache.org Received: (qmail 38752 invoked by uid 99); 4 Jun 2014 20:33:54 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 20:33:54 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9072893F7F5; Wed, 4 Jun 2014 20:33:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: goodale@apache.org To: commits@climate.apache.org Date: Wed, 04 Jun 2014 20:33:55 -0000 Message-Id: <86da0c7b3983434f8c57edbb9a83d236@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: Add additional POST INSTALL Message Add additional POST INSTALL Message - Elaborated the POST INSTALL Message when the -e flag is used - Create a new POST INSTALL Message for those who do not use the -e option Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/98e3cb5f Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/98e3cb5f Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/98e3cb5f Branch: refs/heads/CLIMATE-451 Commit: 98e3cb5f53979b876da8c8acbcb0dea654dcb006 Parents: b8dda5f Author: cgoodale Authored: Wed Jun 4 13:23:55 2014 -0700 Committer: cgoodale Committed: Wed Jun 4 13:23:55 2014 -0700 ---------------------------------------------------------------------- easy-ocw/install-osx.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/98e3cb5f/easy-ocw/install-osx.sh ---------------------------------------------------------------------- diff --git a/easy-ocw/install-osx.sh b/easy-ocw/install-osx.sh index c3ddddc..1e6a248 100755 --- a/easy-ocw/install-osx.sh +++ b/easy-ocw/install-osx.sh @@ -158,6 +158,12 @@ pip install -r ocw-pip-dependencies.txt >> install_log if [ $WITH_VIRTUAL_ENV == 1 ]; then echo "***POST INSTALLATION NOTE*** + +If you are familiar with virtualenv you should know that activating +the new 'ocw' environment is different because we use conda to install +packages. An example of the command you want to run is listed in the +alias below. + To make it easier to change into the 'ocw' virtualenv add the following alias to your ~/.bash_profile @@ -165,5 +171,26 @@ following alias to your ~/.bash_profile When you want to use ocw in the future, you just have to type 'ocw' in your terminal." +else + echo "***POST INSTALLATION NOTE*** + +If you have run this script within your own virtualenv you need to know +a couple of caveats/side effects that are caused by using conda to install +packages within the virtualenv. + +- Virtualenv wrapper will throw errors like those outlined here: +https://issues.apache.org/jira/browse/CLIMATE-451 + +- You will not be able to 'activate' the environment using the normal +virtualenv command, you must instead use the conda activate command as follows: + +source path/to/your_env/bin/activate path/to/your_env + +Example: (assuming your env is in ~/.virtualenv/ocw) + +source ~/.virtualenv/ocw/bin/activate ~/.virtualenv/ocw + +" + fi