From 63e81d04ce5453788956750eb60db2b2301e9fd3 Mon Sep 17 00:00:00 2001 From: abbgrade Date: Fri, 28 Nov 2014 18:28:19 +0100 Subject: [PATCH 1/4] added compiled python file to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc From 5766dc5f0caed8a08544d7898c56c3ea53acbd2c Mon Sep 17 00:00:00 2001 From: abbgrade Date: Fri, 28 Nov 2014 18:29:13 +0100 Subject: [PATCH 2/4] changed wsgi_intercept dependency to version 0.8.1 --- setup.py | 2 +- test/test_album.py | 2 +- test/test_artist.py | 2 +- test/test_event.py | 2 +- test/test_geo.py | 2 +- test/test_group.py | 2 +- test/test_playlist.py | 2 +- test/test_tag.py | 2 +- test/test_track.py | 2 +- test/test_user.py | 2 +- test/test_venue.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 42d5d80..0c7a6cd 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ located at http://ws.audioscrobbler.com/2.0/ .""", SETUPTOOLS_METADATA = dict( install_requires = ['setuptools', 'decorator'], include_package_data = True, - tests_require = ['wsgi_intercept'], + tests_require = ['wsgi_intercept >= 0.8.1'], classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', diff --git a/test/test_album.py b/test/test_album.py index c4e78a9..3c78b21 100644 --- a/test/test_album.py +++ b/test/test_album.py @@ -8,7 +8,7 @@ import unittest import datetime import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_artist.py b/test/test_artist.py index f658f2d..7f3e5d9 100644 --- a/test/test_artist.py +++ b/test/test_artist.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_event.py b/test/test_event.py index ad580a2..f43133f 100644 --- a/test/test_event.py +++ b/test/test_event.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_geo.py b/test/test_geo.py index 98c880c..766ef62 100644 --- a/test/test_geo.py +++ b/test/test_geo.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_group.py b/test/test_group.py index 5c514a6..0bb572d 100644 --- a/test/test_group.py +++ b/test/test_group.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_playlist.py b/test/test_playlist.py index 56afa41..132c335 100644 --- a/test/test_playlist.py +++ b/test/test_playlist.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_tag.py b/test/test_tag.py index 0782689..3562d8b 100644 --- a/test/test_tag.py +++ b/test/test_tag.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_track.py b/test/test_track.py index 9dfa1b8..0bcb5c6 100644 --- a/test/test_track.py +++ b/test/test_track.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_user.py b/test/test_user.py index d5df2ed..124ba17 100644 --- a/test/test_user.py +++ b/test/test_user.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app diff --git a/test/test_venue.py b/test/test_venue.py index 19f8d64..8c9c3b5 100644 --- a/test/test_venue.py +++ b/test/test_venue.py @@ -7,7 +7,7 @@ __license__ = "GNU Lesser General Public License" import unittest import sys, os -from wsgi_intercept.urllib2_intercept import install_opener +from wsgi_intercept.urllib_intercept import install_opener import wsgi_intercept from wsgi_test_app import create_wsgi_app From 008627116af554ccbb66e2ddcdc5d809db8ab003 Mon Sep 17 00:00:00 2001 From: abbgrade Date: Fri, 28 Nov 2014 19:16:45 +0100 Subject: [PATCH 3/4] added readme from google code project --- Readme.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..88c46ea --- /dev/null +++ b/Readme.md @@ -0,0 +1,7 @@ +# python-lastfm + +This package provides a python interface to the [last.fm web services API](http://ws.audioscrobbler.com/2.0/) ([Docs](http://www.last.fm/api/intro)). + +The package covers all the methods provided by the web service API. It also contains some composite methods built upon the methods provided by the web service API. Authentication and authenticated methods are supported. + +The code is being documented now. You can see the documentation [here](http://abhinavsarkar.net/python-lastfm-apidocs/) for reference. \ No newline at end of file From f9c0c331a00dc6207913ae4c5640769cc22f10e7 Mon Sep 17 00:00:00 2001 From: abbgrade Date: Fri, 28 Nov 2014 21:48:38 +0100 Subject: [PATCH 4/4] fixed installation of mixin and utils in the setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0c7a6cd..f2fb845 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ located at http://ws.audioscrobbler.com/2.0/ .""", maintainer="Abhinav Sarkar", maintainer_email="abhinav.sarkar@gmail.com", url="http://python-lastfm.googlecode.com/svn/trunk/dist/", - packages=['lastfm'], + packages=['lastfm', 'lastfm.mixin', 'lastfm.util'], package_data = {'doc':['*.txt', '*.htm', '*.css', '*.js', '*.png']}, license="GNU Lesser General Public License", keywords="audioscrobbler webservice api last.fm",