Skip to content

Commit

Permalink
Replace PyPI page with README.md (#833)
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Unterwaditzer <markus-honeypot@unterwaditzer.net>
  • Loading branch information
cclauss and untitaker authored Nov 2, 2020
1 parent 5dfd8bd commit e6bd271
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ raise ValueError() # Will also create an event.

# Contributing to the SDK

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

# License

Licensed under the BSD license, see [`LICENSE`](./LICENSE)
Licensed under the BSD license, see [`LICENSE`](https://github.com/getsentry/sentry-python/blob/master/LICENSE)
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@
<https://github.com/getsentry/sentry-python>`_ to find out more.
"""

import os
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))


def get_file_text(file_name):
with open(os.path.join(here, file_name)) as in_file:
return in_file.read()


setup(
name="sentry-sdk",
version="0.19.1",
Expand All @@ -21,7 +30,8 @@
"Changelog": "https://github.com/getsentry/sentry-python/blob/master/CHANGES.md",
},
description="Python client for Sentry (https://sentry.io)",
long_description=__doc__,
long_description=get_file_text("README.md"),
long_description_content_type='text/markdown',
packages=find_packages(exclude=("tests", "tests.*")),
# PEP 561
package_data={"sentry_sdk": ["py.typed"]},
Expand Down

0 comments on commit e6bd271

Please sign in to comment.