Skip to content

Commit 95e3890

Browse files
authored
Add PyPi long description (#93)
1 parent 45f9761 commit 95e3890

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-xbee"""
22

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

57
import zigpy_xbee
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-xbee-homeassistant",
915
version=zigpy_xbee.__version__,
1016
description="A library which communicates with XBee radios for zigpy",
17+
long_description=long_description,
18+
long_description_content_type="text/markdown",
1119
url="http://github.com/zigpy/zigpy-xbee",
1220
author="Russell Cloran",
1321
author_email="[email protected]",

0 commit comments

Comments
 (0)