File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change 88<https://github.com/getsentry/sentry-python>`_ to find out more.
99"""
1010
11+ import os
1112from 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+
1322setup (
1423 name = "sentry-sdk" ,
1524 version = "0.19.1" ,
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" ]},
You can’t perform that action at this time.
0 commit comments