Skip to content

Commit 9992edf

Browse files
Use README.md as PyPi description
1 parent 3094367 commit 9992edf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
from distutils.core import setup
22

3+
from pathlib import Path
4+
this_directory = Path(__file__).parent
5+
long_description = (this_directory / "README.md").read_text()
6+
37
setup(
48
name="reddit-python-api",
59
packages=["redditpythonapi"],
610
version="0.2",
711
license="GPLv3",
812
description="A simple Reddit Python API",
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
915
author="Electronic Mango",
1016
author_email="78230210+Electronic-Mango@users.noreply.github.com",
1117
url="https://github.com/Electronic-Mango/reddit-python-api",

0 commit comments

Comments
 (0)