mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
Recover files
This commit is contained in:
8
setup.py
8
setup.py
@@ -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'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user