From 5cce2d52051043d3583db6ad3c60e12d66ea7967 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Jun 2020 21:42:32 +0200 Subject: [PATCH] Use content of README file --- setup.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a7d8890..ddd0a0b 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,21 @@ #!/usr/bin/env python3 """aioesphomeapi setup script.""" +import os + from setuptools import find_packages, setup +here = os.path.abspath(os.path.dirname(__file__)) + +with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file: + long_description = readme_file.read() + + VERSION = '2.6.1' PROJECT_NAME = 'aioesphomeapi' PROJECT_PACKAGE_NAME = 'aioesphomeapi' PROJECT_LICENSE = 'MIT' PROJECT_AUTHOR = 'Otto Winter' -PROJECT_COPYRIGHT = ' 2019, Otto Winter' +PROJECT_COPYRIGHT = ' 2019-2020, Otto Winter' PROJECT_URL = 'https://esphome.io/' PROJECT_EMAIL = 'contact@otto-winter.com' @@ -36,6 +44,8 @@ setup( download_url=DOWNLOAD_URL, author=PROJECT_AUTHOR, author_email=PROJECT_EMAIL, + description='Python API for interacting with ESPHome devices.', + long_description=long_description, packages=find_packages(), include_package_data=True, zip_safe=False,