Skip to content

Commit 1f82e51

Browse files
authored
Fix long description content type (#270)
1 parent f6561da commit 1f82e51

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
from pathlib import Path
2+
13
from setuptools import setup
24

5+
this_directory = Path(__file__).parent
6+
long_description = (this_directory / "README.md").read_text()
7+
38
setup(
49
name="PySwitchbot",
510
packages=["switchbot", "switchbot.devices", "switchbot.adv_parsers"],
@@ -12,6 +17,8 @@
1217
],
1318
version="0.53.1",
1419
description="A library to communicate with Switchbot",
20+
long_description=long_description,
21+
long_description_content_type="text/markdown",
1522
author="Daniel Hjelseth Hoyer",
1623
url="https://github.com/sblibs/pySwitchbot/",
1724
license="MIT",

0 commit comments

Comments
 (0)