You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/06/25 01:54:51 UTC

[GitHub] [flink] WeiZhong94 opened a new pull request #8863: [FLINK-12962][python] Allows pyflink to be pip installed.

WeiZhong94 opened a new pull request #8863: [FLINK-12962][python] Allows pyflink to be pip installed.
URL: https://github.com/apache/flink/pull/8863
 
 
   ## What is the purpose of the change
   
   *This pull request adds pip support for pyflink. Execute `python setup.py sdist` in `flink-python` directory will generate the pyflink package in the `dist` directory. The package is pip-installable and contains all python code of pyflink and all files in `build-target` directory. Users can install it through `pip install package_file_name.tar.gz`. If installation is success, users can import pyflink to their projects, open a pyflink shell by enter `pyflink-shell.sh [mode]` and no need to manually install a java version of flink before using pyflink.*
   
   
   ## Brief change log
   
     - *Allows pyflink to be pip installed.*
     - *Upgrade `find_flink_home.py`, `config.sh` and add `find-flink-home.sh`, make sure `pyflink-shell.sh` could run on pip installed pyflink.*
     - *Add tests and documentation for pip installation.*
   
   
   ## Verifying this change
   This change added tests and can be verified as follows:
   running `flink-python/dev/lint-python.sh`, if the exit code is 0 then the change is OK.
   
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (docs)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services