This is an automated email from the ASF dual-hosted git repository. mergebot-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/beam-site.git
commit 990b9eb77d0c0eba7aa95bf7e82d7572e8ed9e48 Author: Mergebot <[email protected]> AuthorDate: Fri Jul 20 20:42:35 2018 +0000 Prepare repository for deployment. --- content/documentation/io/built-in/index.html | 8 ++++-- content/get-started/quickstart-py/index.html | 37 ++++++++++++++++++++++------ 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/content/documentation/io/built-in/index.html b/content/documentation/io/built-in/index.html index a4aa05f..9a8de18 100644 --- a/content/documentation/io/built-in/index.html +++ b/content/documentation/io/built-in/index.html @@ -358,6 +358,10 @@ limitations under the License. <td><a href="https://issues.apache.org/jira/browse/BEAM-607">BEAM-607</a></td> </tr> <tr> + <td>Apache Kafka</td><td>Python</td> + <td><a href="https://issues.apache.org/jira/browse/BEAM-3788">BEAM-3788</a></td> + </tr> + <tr> <td>Apache Kudu</td><td>Java</td> <td><a href="https://issues.apache.org/jira/browse/BEAM-2661">BEAM-2661</a></td> </tr> @@ -390,8 +394,8 @@ limitations under the License. <td><a href="https://issues.apache.org/jira/browse/BEAM-1946">BEAM-1946</a></td> </tr> <tr> - <td>Apache Kafka</td><td>Python</td> - <td><a href="https://issues.apache.org/jira/browse/BEAM-3788">BEAM-3788</a></td> + <td>Amazon SQS</td><td>Java</td> + <td><a href="https://issues.apache.org/jira/browse/BEAM-4828">BEAM-4828</a></td> </tr> </table> diff --git a/content/get-started/quickstart-py/index.html b/content/get-started/quickstart-py/index.html index a504f20..b74852c 100644 --- a/content/get-started/quickstart-py/index.html +++ b/content/get-started/quickstart-py/index.html @@ -256,7 +256,10 @@ limitations under the License. <p>If you do not have <code class="highlighter-rouge">pip</code> version 7.0.0 or newer, run the following command to install it. This command might require administrative privileges.</p> -<div class="highlighter-rouge"><pre class="highlight"><code>pip install --upgrade pip +<div class="unix powershell highlighter-rouge"><pre class="highlight"><code>pip install --upgrade pip +</code></pre> +</div> +<div class="highlighter-rouge"><pre class="highlight"><code>PS> python -m pip install --upgrade pip </code></pre> </div> @@ -267,7 +270,10 @@ for initial experiments. If you do not have <code class="highlighter-rouge">virt newer, run the following command to install it. This command might require administrative privileges.</p> -<div class="highlighter-rouge"><pre class="highlight"><code>pip install --upgrade virtualenv +<div class="unix powershell highlighter-rouge"><pre class="highlight"><code>pip install --upgrade virtualenv +</code></pre> +</div> +<div class="highlighter-rouge"><pre class="highlight"><code>PS> python -m pip install --upgrade virtualenv </code></pre> </div> @@ -275,7 +281,10 @@ administrative privileges.</p> <code class="highlighter-rouge">setuptools</code> is installed on your machine. If you do not have <code class="highlighter-rouge">setuptools</code> version 17.1 or newer, run the following command to install it.</p> -<div class="highlighter-rouge"><pre class="highlight"><code>pip install --upgrade setuptools +<div class="unix powershell highlighter-rouge"><pre class="highlight"><code>pip install --upgrade setuptools +</code></pre> +</div> +<div class="highlighter-rouge"><pre class="highlight"><code>PS> python -m pip install --upgrade setuptools </code></pre> </div> @@ -285,7 +294,10 @@ version 17.1 or newer, run the following command to install it.</p> <p>A virtual environment is a directory tree containing its own Python distribution. To create a virtual environment, create a directory and run:</p> -<div class="highlighter-rouge"><pre class="highlight"><code>virtualenv /path/to/directory +<div class="unix powershell highlighter-rouge"><pre class="highlight"><code>virtualenv /path/to/directory +</code></pre> +</div> +<div class="highlighter-rouge"><pre class="highlight"><code>PS> virtualenv C:\path\to\directory </code></pre> </div> @@ -295,11 +307,16 @@ environment’s directories.</p> <p>To activate a virtual environment in Bash, run:</p> +<p>{.unix}</p> <div class="highlighter-rouge"><pre class="highlight"><code>. /path/to/directory/bin/activate </code></pre> </div> +<p>{.powershell}</p> +<div class="highlighter-rouge"><pre class="highlight"><code>PS> C:\path\to\directory\Scripts\activate.ps1 +</code></pre> +</div> -<p>That is, source the script <code class="highlighter-rouge">bin/activate</code> under the virtual environment directory you created.</p> +<p>That is, execute the <code class="highlighter-rouge">activate</code> script under the virtual environment directory you created.</p> <p>For instructions using other shells, see the <a href="https://virtualenv.pypa.io/en/stable/userguide/#activate-script">virtualenv documentation</a>.</p> @@ -307,7 +324,10 @@ environment’s directories.</p> <p>Install the latest Python SDK from PyPI:</p> -<div class="highlighter-rouge"><pre class="highlight"><code>pip install apache-beam +<div class="unix powershell highlighter-rouge"><pre class="highlight"><code>pip install apache-beam +</code></pre> +</div> +<div class="highlighter-rouge"><pre class="highlight"><code>PS> python -m pip install apache-beam </code></pre> </div> @@ -349,7 +369,10 @@ environment’s directories.</p> <p>For example, run <code class="highlighter-rouge">wordcount.py</code> with the following command:</p> -<div class="runner-direct highlighter-rouge"><pre class="highlight"><code>python -m apache_beam.examples.wordcount --input /path/to/inputfile --output /path/to/write/counts +<div class="runner-direct runner-direct-powershell highlighter-rouge"><pre class="highlight"><code>python -m apache_beam.examples.wordcount --input /path/to/inputfile --output /path/to/write/counts +</code></pre> +</div> +<div class="highlighter-rouge"><pre class="highlight"><code>python -m apache_beam.examples.wordcount --input C:\path\to\inputfile --output C:\path\to\write\counts </code></pre> </div>
