[
https://issues.apache.org/jira/browse/BEAM-2517?focusedWorklogId=83218&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-83218
]
ASF GitHub Bot logged work on BEAM-2517:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Mar/18 16:13
Start Date: 22/Mar/18 16:13
Worklog Time Spent: 10m
Work Description: asfgit closed pull request #404: [BEAM-2517] Add
instructions on how to build and use the Python tarball.
URL: https://github.com/apache/beam-site/pull/404
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/src/contribute/contribution-guide.md
b/src/contribute/contribution-guide.md
index fcf750231..c8ddd8d0d 100644
--- a/src/contribute/contribution-guide.md
+++ b/src/contribute/contribution-guide.md
@@ -218,6 +218,26 @@ push. You'll run:
$ git push <GitHub_user> <my-branch> --force
+### Building
+
+#### Python SDK
+
+Before testing SDK code changes remotely, you must build the Beam tarball. From
+the root of the git repository, run:
+
+```
+cd sdks/python/
+python setup.py sdist
+```
+
+Pass the `--sdk_location` flag to use the newly built version. For example:
+
+```
+python setup.py sdist > /dev/null && \
+ python -m apache_beam.examples.wordcount ... \
+ --sdk_location dist/apache-beam-2.5.0.dev0.tar.gz
+```
+
### Testing
All code should have appropriate unit testing coverage. New code should have
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 83218)
Time Spent: 1h 40m (was: 1.5h)
> Document how to build Python SDK from BEAM head in contribution guide.
> ----------------------------------------------------------------------
>
> Key: BEAM-2517
> URL: https://issues.apache.org/jira/browse/BEAM-2517
> Project: Beam
> Issue Type: Bug
> Components: website
> Reporter: Valentyn Tymofieiev
> Assignee: Udi Meiri
> Priority: Minor
> Labels: starter
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> We should add instructions how to build Python SDK from BEAM head to BEAM
> contributor guide[1] .
> The commands can be as follows:
> cd ./beam/sdks/python
> python setup.py sdist
> SDK tarball will appear in ./dist/
> [1]: https://beam.apache.org/contribute/contribution-guide
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)