sunjincheng121 commented on a change in pull request #8863: 
[FLINK-12962][python] Allows pyflink to be pip installed.
URL: https://github.com/apache/flink/pull/8863#discussion_r298216449
 
 

 ##########
 File path: docs/flinkDev/building.md
 ##########
 @@ -58,6 +58,22 @@ mvn clean install -DskipTests -Dfast
 
 The default build adds a Flink-specific JAR for Hadoop 2, to allow using Flink 
with HDFS and YARN.
 
+## Build PyFlink
+
+If you want to build a PyFlink package that can be used for pip installation, 
you need to build Flink jars first, as described in [Build Flink](##Build 
Flink).
+Then go to the root directory of flink source code and run this command to 
build the sdist package and wheel package:
+
+{% highlight bash %}
+cd flink-python; python setup.py sdist bdist_wheel
+{% endhighlight %}
+
+The sdist and wheel package will be found under `./flink-python/dist/`. Either 
of them could be used for pip installation:
 
 Review comment:
   `for pip installation:` ->`for pip installation, such as:`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to