diff --git a/docs/index.rst b/docs/index.rst index eb86981d..f652dd25 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -69,7 +69,7 @@ API `_ documentation. Installation ============ -Install or upgrade *Spotipy* with: +Install or upgrade *Spotipy* with:: pip install spotipy --upgrade @@ -171,7 +171,7 @@ in comparison with requests to the Web API made without an access token, is that a higher rate limit is applied. To support the **Client Credentials Flow** *Spotipy* provides a -class SpotifyClientCredentials that can be used to authenticate requests like so: +class SpotifyClientCredentials that can be used to authenticate requests like so:: import spotipy @@ -353,6 +353,7 @@ Spotipy authored by Paul Lamere (plamere) with contributions by: - Michael Birtwell // mbirtwell - Harrison Hayes // Harrison97 - Stephane Bruckert // stephanebruckert + - Ritiek Malhotra // ritiek License ======= diff --git a/setup.py b/setup.py index fe6c0e07..e4a6ae31 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,14 @@ from setuptools import setup -desc = """### A light weight Python library for the Spotify Web API""" +with open("README.md", "r", encoding="utf-8") as f: + long_description = f.read() setup( name='spotipy', version='2.6.2', - long_description=desc, - long_description_content_type='text/markdown', + description='A light weight Python library for the Spotify Web API', + long_description=long_description, + long_description_content_type="text/markdown", author="@plamere", author_email="paul@echonest.com", url='http://spotipy.readthedocs.org/',