aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2019-01-24 22:16:05 +0100
committerRapptz <[email protected]>2019-01-28 22:22:53 -0500
commit1f4940d1716de03086c6693da699ac5c8e57bef8 (patch)
tree39548f1b18029de6f0e6e9d343043da6241e21a7
parentUpdate voice code to vws V4 (diff)
downloaddiscord.py-1f4940d1716de03086c6693da699ac5c8e57bef8.tar.xz
discord.py-1f4940d1716de03086c6693da699ac5c8e57bef8.zip
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.
-rw-r--r--MANIFEST.in2
-rw-r--r--README.rst4
-rw-r--r--setup.py1
3 files changed, 4 insertions, 3 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 48577371..e0a5ef4b 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 aefd5165..5ff44885 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 <http://discordpy.rtfd.org/en/latest>`__.
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 a5904855..eb214915 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,