mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
Fixed up the packaging a bit
This commit is contained in:
parent
f43faea723
commit
4e70a2f7f3
11
CHANGES.txt
11
CHANGES.txt
@ -2,6 +2,11 @@ v1.40, June 12, 2014 -- Initial public release.
|
|||||||
v1.42, June 19, 2014 -- Removed dependency on simplejson
|
v1.42, June 19, 2014 -- Removed dependency on simplejson
|
||||||
v1.43, June 27, 2014 -- Fixed JSON handling issue
|
v1.43, June 27, 2014 -- Fixed JSON handling issue
|
||||||
v1.44, July 3, 2014 -- Added show_tracks.py exampole
|
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.45, July 7, 2014 -- Support for related artists endpoint. Don't used
|
||||||
v1.50, August 14, 2014 -- Refactored util out of examples and into the main package
|
cache auth codes when scope changes
|
||||||
v1.301, August 19, 2014 -- Upgraded version number to take precedence over previously botched release (sigh)
|
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
4
deploy
@ -1,2 +1,6 @@
|
|||||||
|
#
|
||||||
|
# sudo python setup.py develop --uninstall
|
||||||
|
# sudo python setup.py install
|
||||||
|
|
||||||
sudo python setup.py sdist upload
|
sudo python setup.py sdist upload
|
||||||
|
|
||||||
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
requests==2.3.0
|
4
setup.py
4
setup.py
@ -2,11 +2,11 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='SpotipyWebApi',
|
name='SpotipyWebApi',
|
||||||
version='1.301',
|
version='1.320',
|
||||||
description='simple client for the Spotify Web API',
|
description='simple client for the Spotify Web API',
|
||||||
author="@plamere",
|
author="@plamere",
|
||||||
author_email="paul@echonest.com",
|
author_email="paul@echonest.com",
|
||||||
url='http://github.com/plamere/spotipy',
|
url='http://github.com/plamere/spotipy',
|
||||||
install_requires=['requests>=1.0'],
|
install_requires=['requests>=1.0'],
|
||||||
license='LICENSE.txt',
|
license='LICENSE.txt',
|
||||||
py_modules=['spotipy', 'spotipy.oauth2', 'spotipy.util'],)
|
py_modules=['spotipy.spotipy', 'spotipy.oauth2', 'spotipy.util'],)
|
||||||
|
@ -50,6 +50,7 @@ class Spotify(object):
|
|||||||
'''
|
'''
|
||||||
self.prefix = 'https://api.spotify.com/v1/'
|
self.prefix = 'https://api.spotify.com/v1/'
|
||||||
self._auth = auth
|
self._auth = auth
|
||||||
|
self.version = 'Spotipy version 1.320'
|
||||||
|
|
||||||
def _auth_headers(self):
|
def _auth_headers(self):
|
||||||
if self._auth:
|
if self._auth:
|
||||||
|
Loading…
Reference in New Issue
Block a user