You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/03/26 07:12:57 UTC

[flink-statefun] 03/03: [FLINK-16785] [py] Add descriptions to Python SDK setup.py

This is an automated email from the ASF dual-hosted git repository.

tzulitai pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit fa1e2071ae78c4b9b3dff51c0ee4a450cb47bb95
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Thu Mar 26 15:09:13 2020 +0800

    [FLINK-16785] [py] Add descriptions to Python SDK setup.py
---
 statefun-python-sdk/setup.py | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/statefun-python-sdk/setup.py b/statefun-python-sdk/setup.py
index ebebb95..c55a064 100644
--- a/statefun-python-sdk/setup.py
+++ b/statefun-python-sdk/setup.py
@@ -18,6 +18,13 @@
 
 from setuptools import setup
 
+import io
+import os
+
+this_directory = os.path.abspath(os.path.dirname(__file__))
+with io.open(os.path.join(this_directory, 'README.md'), 'r', encoding='utf-8') as f:
+    long_description = f.read()
+
 setup(
     name='apache-flink-statefun',
     version='2.0-SNAPSHOT',
@@ -26,7 +33,9 @@ setup(
     license='https://www.apache.org/licenses/LICENSE-2.0',
     author='Apache Software Foundation',
     author_email='dev@flink.apache.org',
-    description='Python SDK for Flink Stateful functions',
+    description='Python SDK for Apache Flink Stateful functions',
+    long_description=long_description,
+    long_description_content_type='text/markdown',
     install_requires=['protobuf>=3.11.3,<4.0.0'],
     tests_require=['pytest'],
     python_requires='>=3.5',