Fixed up the packaging a bit

This commit is contained in:
Paul Lamere 2014-08-20 16:28:47 -04:00
parent f43faea723
commit 4e70a2f7f3
5 changed files with 16 additions and 5 deletions

View File

@ -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

4
deploy
View File

@ -1,2 +1,6 @@
#
# sudo python setup.py develop --uninstall
# sudo python setup.py install
sudo python setup.py sdist upload

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
requests==2.3.0

View File

@ -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'],)

View File

@ -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: