diff --git a/CHANGES.txt b/CHANGES.txt index 98c8f5e..1b58efe 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,6 +2,11 @@ v1.40, June 12, 2014 -- Initial public release. v1.42, June 19, 2014 -- Removed dependency on simplejson v1.43, June 27, 2014 -- Fixed JSON handling issue v1.44, July 3, 2014 -- Added show_tracks.py exampole -v1.45, July 7, 2014 -- Support for related artists endpoint. Don't used cache auth codes when scope changes -v1.50, August 14, 2014 -- Refactored util out of examples and into the main package -v1.301, August 19, 2014 -- Upgraded version number to take precedence over previously botched release (sigh) +v1.45, July 7, 2014 -- Support for related artists endpoint. Don't used + cache auth codes when scope changes +v1.50, August 14, 2014 -- Refactored util out of examples and into the main + package +v1.301, August 19, 2014 -- Upgraded version number to take precedence over + previously botched release (sigh) +v1.310, August 20, 2014 -- Added playlist replace and remove methods. Added auth + tests. Improved API docs diff --git a/deploy b/deploy index d760a2a..b4808f9 100755 --- a/deploy +++ b/deploy @@ -1,2 +1,6 @@ +# +# sudo python setup.py develop --uninstall +# sudo python setup.py install + sudo python setup.py sdist upload diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..65b84e9 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requests==2.3.0 diff --git a/setup.py b/setup.py index 3c3917e..1a54b38 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,11 @@ from setuptools import setup setup( name='SpotipyWebApi', - version='1.301', + version='1.320', description='simple client for the Spotify Web API', author="@plamere", author_email="paul@echonest.com", url='http://github.com/plamere/spotipy', install_requires=['requests>=1.0'], license='LICENSE.txt', - py_modules=['spotipy', 'spotipy.oauth2', 'spotipy.util'],) + py_modules=['spotipy.spotipy', 'spotipy.oauth2', 'spotipy.util'],) diff --git a/spotipy/spotipy.py b/spotipy/spotipy.py index 6dbf1c3..6aa820a 100644 --- a/spotipy/spotipy.py +++ b/spotipy/spotipy.py @@ -50,6 +50,7 @@ class Spotify(object): ''' self.prefix = 'https://api.spotify.com/v1/' self._auth = auth + self.version = 'Spotipy version 1.320' def _auth_headers(self): if self._auth: