Use content of README file

This commit is contained in:
Fabian Affolter 2020-06-19 21:42:32 +02:00
parent a9192898e4
commit 5cce2d5205
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F
1 changed files with 11 additions and 1 deletions

View File

@ -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,