Repository: beam-site Updated Branches: refs/heads/asf-site 408f290eb -> f4d8614c0
Fix the quickstart documentation Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/f3494f0e Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/f3494f0e Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/f3494f0e Branch: refs/heads/asf-site Commit: f3494f0e8c0b01cd2a3e577b9cd1e9ce04ac8bbb Parents: 408f290 Author: Sourabh Bajaj <[email protected]> Authored: Fri Feb 24 12:31:15 2017 -0800 Committer: Ahmet Altay <[email protected]> Committed: Fri Feb 24 12:48:29 2017 -0800 ---------------------------------------------------------------------- src/get-started/quickstart-py.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam-site/blob/f3494f0e/src/get-started/quickstart-py.md ---------------------------------------------------------------------- diff --git a/src/get-started/quickstart-py.md b/src/get-started/quickstart-py.md index 57bdefc..48a4d35 100644 --- a/src/get-started/quickstart-py.md +++ b/src/get-started/quickstart-py.md @@ -15,13 +15,13 @@ This guide shows you how to set up your Python development environment, get the ### Install pip -Install [pip](https://pip.pypa.io/en/stable/installing/), Python's package manager. Check that you have version 7.0.0 or newer, by running: +Install [pip](https://pip.pypa.io/en/stable/installing/), Python's package manager. Check that you have version 7.0.0 or newer, by running: ``` pip --version ``` -### Install Python virtual environment +### Install Python virtual environment It is recommended that you install a [Python virtual environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/) for initial experiments. If you do not have `virtualenv` version 13.1.0 or newer, install it by running: @@ -48,7 +48,7 @@ virtualenv /path/to/directory A virtual environment needs to be activated for each shell that is to use it. Activating it sets some environment variables that point to the virtual -environment's directories. +environment's directories. To activate a virtual environment in Bash, run: @@ -62,20 +62,17 @@ For instructions using other shells, see the [virtualenv documentation](https:// ### Download and install -1. Clone the Apache Beam repo from GitHub: +1. Clone the Apache Beam repo from GitHub: `git clone https://github.com/apache/beam.git` -2. Navigate to the `python` directory: +2. Navigate to the `python` directory: `cd beam/sdks/python/` -3. Create the Apache Beam Python SDK installation package: +3. Create the Apache Beam Python SDK installation package: `python setup.py sdist` -4. Navigate to the `dist` directory: - `cd dist/` - -5. Install the Apache Beam SDK - `pip install apache-beam-sdk-*.tar.gz` +4. Install the Apache Beam SDK + `pip install dist/apache-beam-sdk-*.tar.gz .[gcp]` ## Execute a pipeline locally
