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:10:36 UTC
[flink-statefun] 02/02: [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 master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 091ebf39535afe672498d9fabd7f01d3b63c56de
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 caca6ac..4858b1d 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.1-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',