Small document fix

Change-Id: I5caca8f44d06bddc4162b5d7a9fa16dc7f95f290
This commit is contained in:
Yichen Wang 2015-09-02 23:09:38 -07:00
parent 63aad6a13b
commit b38d42b7bf

View File

@ -21,20 +21,22 @@ Ubuntu/Debian based:
.. code-block:: bash .. code-block:: bash
$ sudo apt-get install python-dev python-virtualenv git git-review $ sudo apt-get install python-dev python-pip python-virtualenv git git-review
$ sudo apt-get install libxml2-dev libxslt-dev libffi-dev libz-dev libyaml-dev libssl-dev $ sudo apt-get install libxml2-dev libxslt-dev libffi-dev libz-dev libyaml-dev libssl-dev
RHEL/CentOS based: RHEL/CentOS based:
.. code-block:: bash .. code-block:: bash
$ sudo yum install python-devel python-virtualenv git $ sudo yum install python-devel python-pip python-virtualenv git
$ sudo yum install libxml2-devel libxslt-devel libffi-devel libyaml-devel openssl-devel $ sudo yum install libxml2-devel libxslt-devel libffi-devel libyaml-devel openssl-devel
MacOSX: MacOSX:
.. code-block:: bash .. code-block:: bash
$ # Download the XCode command line tools from Apple App Store
$ xcode-select --install
$ sudo easy_install pip $ sudo easy_install pip
$ sudo pip install virtualenv $ sudo pip install virtualenv
@ -51,6 +53,7 @@ Create a virtual environment for Python, and install VMTP:
$ vmtp -h $ vmtp -h
.. note:: .. note::
"A Virtual Environment is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them." It is optional but recommended. We could use:: "A Virtual Environment is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them." It is optional but recommended. We could use::
$ sudo pip install vmtp $ sudo pip install vmtp