提交 c6b4ad82 编写于 作者: T Todd Sedano 提交者: Todd Sedano

Fixes python path for macOS

Prior to this change, make create-demo-cluster would fail since the
command line could not find pip.
上级 b0ceb101
...@@ -28,10 +28,10 @@ brew install go # Or get the latest from https://golang.org/dl/ ...@@ -28,10 +28,10 @@ brew install go # Or get the latest from https://golang.org/dl/
# Installing python libraries # Installing python libraries
brew install python brew install python
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
cat >> ~/.bash_profile << EOF cat >> ~/.bash_profile << EOF
export PATH="/usr/local/opt/python/libexec/bin:$PATH" export PATH=/usr/local/opt/python/libexec/bin:$PATH
EOF EOF
source ~/.bash_profile
pip install lockfile psi paramiko pysql psutil setuptools pip install lockfile psi paramiko pysql psutil setuptools
pip install unittest2 parse pexpect mock pyyaml pip install unittest2 parse pexpect mock pyyaml
pip install git+https://github.com/behave/behave@v1.2.4 pip install git+https://github.com/behave/behave@v1.2.4
......
...@@ -13,6 +13,7 @@ their environments. ...@@ -13,6 +13,7 @@ their environments.
## Step: install needed dependencies. This will install homebrew if missing ## Step: install needed dependencies. This will install homebrew if missing
``` ```
./README.macOS.bash ./README.macOS.bash
source ~/.bash_profile
``` ```
## Step: Workaround for libreadline / libxml2 on OSX 10.11 (El Capitan) ## Step: Workaround for libreadline / libxml2 on OSX 10.11 (El Capitan)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册