Files
mopidy-radionet/setup.py
blackberrymamba 281cf2b1cf Initial commit
2017-12-23 00:06:49 +01:00

45 lines
1.3 KiB
Python

from __future__ import unicode_literals
import re
from setuptools import find_packages, setup
def get_version(filename):
with open(filename) as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
return metadata['version']
setup(
name='Mopidy-RadioNet',
version=get_version('mopidy_radionet/__init__.py'),
url='https://github.com/blakberrymamba/mopidy-radionet',
license='Apache License, Version 2.0',
author='blakberrymamba',
author_email='mariusz@typedef.pl',
description='Mopidy extension for radio.net',
long_description=open('README.rst').read(),
packages=find_packages(exclude=['tests', 'tests.*']),
zip_safe=False,
include_package_data=True,
install_requires=[
'setuptools',
'Mopidy >= 1.0',
'Pykka >= 1.1',
],
entry_points={
'mopidy.ext': [
'radionet = mopidy_radionet:Extension',
],
},
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Topic :: Multimedia :: Sound/Audio :: Players',
],
)