Skip to content

Commit e6bd271

Browse files
cclaussuntitaker
andauthored
Replace PyPI page with README.md (#833)
Co-authored-by: Markus Unterwaditzer <[email protected]>
1 parent 5dfd8bd commit e6bd271

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ raise ValueError() # Will also create an event.
2828

2929
# Contributing to the SDK
3030

31-
Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md).
31+
Please refer to [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md).
3232

3333
# License
3434

35-
Licensed under the BSD license, see [`LICENSE`](./LICENSE)
35+
Licensed under the BSD license, see [`LICENSE`](https://github.com/getsentry/sentry-python/blob/master/LICENSE)

setup.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@
88
<https://github.com/getsentry/sentry-python>`_ to find out more.
99
"""
1010

11+
import os
1112
from setuptools import setup, find_packages
1213

14+
here = os.path.abspath(os.path.dirname(__file__))
15+
16+
17+
def get_file_text(file_name):
18+
with open(os.path.join(here, file_name)) as in_file:
19+
return in_file.read()
20+
21+
1322
setup(
1423
name="sentry-sdk",
1524
version="0.19.1",
@@ -21,7 +30,8 @@
2130
"Changelog": "https://github.com/getsentry/sentry-python/blob/master/CHANGES.md",
2231
},
2332
description="Python client for Sentry (https://sentry.io)",
24-
long_description=__doc__,
33+
long_description=get_file_text("README.md"),
34+
long_description_content_type='text/markdown',
2535
packages=find_packages(exclude=("tests", "tests.*")),
2636
# PEP 561
2737
package_data={"sentry_sdk": ["py.typed"]},

0 commit comments

Comments
 (0)