From 1f4940d1716de03086c6693da699ac5c8e57bef8 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Thu, 24 Jan 2019 22:16:05 +0100 Subject: [PATCH] Fix README.rst for PyPi Add long_description_content_type in setup.py, fix incorrectly matched up title underlines in README.rst, and fix incorrect entry in MANIFEST.in that was forgotten when the README was renamed in 06296bf. --- MANIFEST.in | 2 +- README.rst | 4 ++-- setup.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 48577371f..e0a5ef4b0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include README.md +include README.rst include LICENSE include requirements.txt include discord/bin/*.dll diff --git a/README.rst b/README.rst index aefd5165e..5ff44885e 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ discord.py is an API wrapper for Discord written in Python. This was written to allow easier writing of bots or chat logs. Make sure to familiarise yourself with the API using the `documentation `__. Breaking Changes ---------------- +---------------- The discord API is constantly changing and the wrapper API is as well. There will be no effort to keep backwards compatibility in versions before ``v1.0.0``. @@ -53,7 +53,7 @@ Please note that on Linux installing voice you must install the following packag * python-dev (e.g. ``python3.5-dev`` for Python 3.5) Quick Example ------------- +------------- .. code:: py diff --git a/setup.py b/setup.py index a5904855b..eb214915c 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ setup(name='discord.py', license='MIT', description='A python wrapper for the Discord API', long_description=readme, + long_description_content_type="text/x-rst", include_package_data=True, install_requires=requirements, extras_require=extras_require,