Use README as PyPi description

This commit is contained in:
Stephane Bruckert 2020-01-16 17:47:15 +00:00
parent 07505d720c
commit ab75d3d30c
2 changed files with 8 additions and 5 deletions

View File

@ -69,7 +69,7 @@ API <https://developer.spotify.com/web-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
=======

View File

@ -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/',