You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by kl...@apache.org on 2017/03/21 13:15:58 UTC
mesos git commit: Added `virtualenv` as a dependency in
`getting-started.md`.
Repository: mesos
Updated Branches:
refs/heads/master 27ac1a54c -> 05e9a1d40
Added `virtualenv` as a dependency in `getting-started.md`.
Review: https://reviews.apache.org/r/57713/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/05e9a1d4
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/05e9a1d4
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/05e9a1d4
Branch: refs/heads/master
Commit: 05e9a1d40572b8383a582e15663d861b134a7dad
Parents: 27ac1a5
Author: Kevin Klues <kl...@gmail.com>
Authored: Tue Mar 21 06:14:30 2017 -0700
Committer: Kevin Klues <kl...@gmail.com>
Committed: Tue Mar 21 06:14:30 2017 -0700
----------------------------------------------------------------------
docs/getting-started.md | 12 ++++++++----
docs/windows.md | 3 ++-
2 files changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/05e9a1d4/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 268eb29..8cb6a8d 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -47,7 +47,7 @@ Following are the instructions for stock Ubuntu 14.04. If you are using a differ
$ sudo apt-get install -y autoconf libtool
# Install other Mesos dependencies.
- $ sudo apt-get -y install build-essential python-dev libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev
+ $ sudo apt-get -y install build-essential python-dev python-virtualenv libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev
### Ubuntu 16.04
@@ -66,7 +66,7 @@ Following are the instructions for stock Ubuntu 16.04. If you are using a differ
$ sudo apt-get install -y autoconf libtool
# Install other Mesos dependencies.
- $ sudo apt-get -y install build-essential python-dev libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev zlib1g-dev
+ $ sudo apt-get -y install build-essential python-dev python-virtualenv libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev zlib1g-dev
### Mac OS X 10.10 (Yosemite), Mac OS X 10.11 (El Capitan), macOS 10.12 (Sierra)
@@ -84,6 +84,10 @@ Following are the instructions for stock Mac OS X Yosemite and El Capitan. If yo
# Install libraries.
$ brew install wget git autoconf automake libtool subversion maven
+ # Install Python dependencies.
+ $ sudo easy_install pip
+ $ pip install virtualenv
+
When compiling on macOS 10.12, the following is needed:
# There is an incompatiblity with the system installed svn and apr headers.
@@ -153,7 +157,7 @@ Following are the instructions for stock CentOS 6.6. If you are using a differen
$ sudo yum install -y devtoolset-2-toolchain
# Install other Mesos dependencies.
- $ sudo yum install -y apache-maven python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
+ $ sudo yum install -y apache-maven python-devel python-virtualenv java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
# Enter a shell with 'devtoolset-2' enabled.
$ scl enable devtoolset-2 bash
@@ -204,7 +208,7 @@ Following are the instructions for stock CentOS 7.1. If you are using a differen
$ sudo yum groupinstall -y "Development Tools"
# Install other Mesos dependencies.
- $ sudo yum install -y apache-maven python-devel java-1.8.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
+ $ sudo yum install -y apache-maven python-devel python-virtualenv java-1.8.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
### Windows
http://git-wip-us.apache.org/repos/asf/mesos/blob/05e9a1d4/docs/windows.md
----------------------------------------------------------------------
diff --git a/docs/windows.md b/docs/windows.md
index 38275f3..b070c64 100644
--- a/docs/windows.md
+++ b/docs/windows.md
@@ -23,7 +23,8 @@ Mesos 1.0.0 introduced experimental support for Windows.
i.e. `git config core.autocrlf true`.
5. Make sure there are no spaces in your build directory.
For example, `C:/Program Files (x86)/mesos` is an invalid build directory.
-
+6. **Optional**: Install [`python 2.6+`](https://www.python.org/downloads/windows/) and [`virtualenv`](https://pypi.python.org/pypi/virtualenv)
+ This is only necessary when developing Mesos on Windows (specifically for automated linting of python files).
### Build Instructions