Skip to content

Commit cd489ce

Browse files
authored
Add PyPi package long description (#104)
1 parent 65dfb3c commit cd489ce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
"""Setup module for zigpy-deconz"""
22

3+
import os
4+
35
from setuptools import find_packages, setup
46

57
import zigpy_deconz
68

9+
this_directory = os.path.join(os.path.abspath(os.path.dirname(__file__)))
10+
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
11+
long_description = f.read()
12+
713
setup(
814
name="zigpy-deconz",
915
version=zigpy_deconz.__version__,
1016
description="A library which communicates with Deconz radios for zigpy",
17+
long_description=long_description,
18+
long_description_content_type="text/markdown",
1119
url="http://github.com/zigpy/zigpy-deconz",
1220
author="Daniel Schmidt",
1321
author_email="[email protected]",

0 commit comments

Comments
 (0)