diff --git a/README.rst b/README.md similarity index 82% rename from README.rst rename to README.md index e10e352..31cd4f3 100644 --- a/README.rst +++ b/README.md @@ -1,10 +1,9 @@ -PyDroid-IpCam -============ +# PyDroid-IpCam + A python asyncio library for handling android ipcam. Original written for Home-Assistant -Links ------ +## Links - https://play.google.com/store/apps/details?id=com.pas.webcam - http://home-assistant.io diff --git a/setup.py b/setup.py index 5d94147..a50c8c2 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ -from setuptools import setup +"""PyDroid IPCam Setup.""" +from pathlib import Path -with open("README.rst") as f: - long_description = f.read() +from setuptools import setup VERSION = "1.1" @@ -14,7 +14,8 @@ url="https://github.com/pvizeli/pydroid-ipcam", download_url="https://github.com/pvizeli/pydroid-ipcam/tarball/" + VERSION, description=("A asyncio library for handling android ipcam"), - long_description=long_description, + long_description=Path("README.md").read_text(), + long_description_content_type="text/markdown", classifiers=[ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules",