Recover files

This commit is contained in:
Ander
2015-04-09 01:21:50 +02:00
parent c2b3a16cd3
commit 660258f044
26 changed files with 687 additions and 595 deletions

View File

@@ -6,9 +6,9 @@ from setuptools import find_packages, setup
def get_version(filename):
content = open(filename).read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content))
return metadata['version']
with open(filename) as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
return metadata['version']
setup(
@@ -26,7 +26,7 @@ setup(
include_package_data=True,
install_requires=[
'setuptools',
'Mopidy >= 0.18',
'Mopidy >= 1.0',
'Pykka >= 1.1',
'pygame'
],