From 911c8f78917dff6496a163a08c8b231642124661 Mon Sep 17 00:00:00 2001 From: Naoto Kondo Date: Tue, 22 Mar 2022 19:13:05 +0900 Subject: [PATCH] add long description automatically --- setup.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup.py b/setup.py index 6863849..c182761 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ import os import shutil +from pathlib import Path from setuptools import setup, Extension from setuptools.command.build_ext import build_ext @@ -43,10 +44,17 @@ class CMakeBuild(build_ext): shutil.copy(filepath, lib_dir) +# read description +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + +# setup setup( name='ndi-python', version='5.1.1.3', description='Wrapper package for NDI SDK python bindings.', + long_description=long_description, + long_description_content_type='text/markdown', author='Naoto Kondo ', url='https://github.com/buresu/ndi-python', license="MIT",