Skip to content

Commit 312ff20

Browse files
committed
fix: fix markdown readme in setup.py
1 parent ccdc7c1 commit 312ff20

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22

33
from setuptools import setup, find_packages
44

5+
# read the contents of your README file
6+
from os import path
7+
this_directory = path.abspath(path.dirname(__file__))
8+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
9+
long_description = f.read()
10+
511
setup(
612
name="sentry-sdk",
713
version="0.1.0-preview3",
814
author="Sentry Team and Contributors",
915
author_email="[email protected]",
1016
url="https://github.com/getsentry/sentry-sdk",
1117
description="Python client for Sentry (https://getsentry.com)",
12-
long_description=__doc__,
18+
long_description=long_description,
19+
long_description_content_type='text/markdown',
1320
packages=find_packages(exclude=("tests", "tests.*")),
1421
zip_safe=False,
1522
license="BSD",

0 commit comments

Comments
 (0)