From 07505d720ca27f1f8e8915b13c5779bfbf600df3 Mon Sep 17 00:00:00 2001 From: Stephane Bruckert Date: Thu, 16 Jan 2020 04:14:42 +0000 Subject: [PATCH 1/2] Bump to 2.6.2 --- CHANGELOG.md | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bc8f07..abb3afb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.6.2] - 2020-01-16 + ### Fixed - Fixed broken examples in README, examples and doc diff --git a/setup.py b/setup.py index e45c18e..fe6c0e0 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ desc = """### A light weight Python library for the Spotify Web API""" setup( name='spotipy', - version='2.6.1', + version='2.6.2', long_description=desc, long_description_content_type='text/markdown', author="@plamere", From ab75d3d30c9424931a9f77724350d06ef49126b9 Mon Sep 17 00:00:00 2001 From: Stephane Bruckert Date: Thu, 16 Jan 2020 17:47:15 +0000 Subject: [PATCH 2/2] Use README as PyPi description --- docs/index.rst | 5 +++-- setup.py | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index eb86981..f652dd2 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 fe6c0e0..e4a6ae3 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/',