Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
release 2013.02.12
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-weber committed Feb 12, 2013
2 parents ce9cfdf + 52155e9 commit 88ba638
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -7,7 +7,7 @@ Thumbs.db
.*.swo
*.tmproj

_*.py
_local_*.py
*.pyc

docs/build
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Expand Up @@ -3,4 +3,4 @@ recursive-include gmusicapi *.py
include docs/Makefile
recursive-include docs/source *.py *.rst
include gmusicapi/test/audiotest*
global-exclude _*.py
global-exclude _local_*.py
2 changes: 1 addition & 1 deletion gmusicapi/__init__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from version import __version__
from _version import __version__

__copyright__ = 'Copyright 2013 Simon Weber'
__license__ = 'BSD 3-Clause'
Expand Down
1 change: 1 addition & 0 deletions gmusicapi/_version.py
@@ -0,0 +1 @@
__version__ = "2013.02.12"
6 changes: 3 additions & 3 deletions gmusicapi/protocol/webclient.py
Expand Up @@ -80,9 +80,9 @@ def check_success(cls, res):
if 'success' in res and not res['success']:
raise CallFailure(
"the server reported failure. This is usually"
"caused by bad arguments, but can also happen if requests"
"are made too quickly (eg creating a playlist then"
"modifying it before the server has created it)",
" caused by bad arguments, but can also happen if requests"
" are made too quickly (eg creating a playlist then"
" modifying it before the server has created it)",
cls.__name__)

@classmethod
Expand Down
1 change: 0 additions & 1 deletion gmusicapi/version.py

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
@@ -1,14 +1,13 @@
#!/usr/bin/env python

from distutils.core import setup
from setuptools import find_packages
from setuptools import setup, find_packages
import re

#This hack is from http://stackoverflow.com/a/7071358/1231454;
# the version is kept in a seperate file and gets parsed - this
# way, setup.py doesn't have to import the package.

VERSIONFILE = 'gmusicapi/version.py'
VERSIONFILE = 'gmusicapi/_version.py'

version_line = open(VERSIONFILE).read()
version_re = r"^__version__ = ['\"]([^'\"]*)['\"]"
Expand Down

0 comments on commit 88ba638

Please sign in to comment.