From fc684ada3c796927898277f3e8e5cddebcc2e524 Mon Sep 17 00:00:00 2001 From: kongo09 Date: Mon, 1 Jan 2024 15:30:26 +0100 Subject: [PATCH] provide readme for pypi --- setup.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4a88b8b..8aa701c 100644 --- a/setup.py +++ b/setup.py @@ -2,16 +2,22 @@ """ Setup.py file for pixoo package """ +from pathlib import Path from setuptools import setup +this_directory = Path(__file__).parent +longdescription = (this_directory / "README.md").read_text() + setup( name="pixoo", - version="0.8.0", + version="0.8.1", author="Ron Talman, kongo09", description=( "A library to easily communicate with the Divoom Pixoo 64", "(and hopefully soon more screens that support Wi-Fi)", ), + long_description=longdescription, + long_description_content_type='text/markdown', license="BSD", keywords="pixoo", url="https://github.com/kongo09/pixoo#readme", @@ -24,5 +30,6 @@ 'Pillow ~= 10.0.0', ], python_requires=">=3.10", - package_dir={"": "."}, +# package_dir={"": "."}, + include_package_data=True, )