This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (61 loc) · 1.77 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# setup.py ---
# "THE BEER-WARE LICENSE" (Revision 42):
# <[email protected]> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return.
#
# Filename: setup.py
# Description:
# Author: Kevin Lemonnier
# By: Kevin Lemonnier
# Created: Sat Apr 20 15:45:58 2013 (+0200)
# Last-Updated: Sat May 4 18:31:17 2013 (+0200)
# Version:
# Update #: 16
# Change Log:
#
#
#
# Code:
from __future__ import unicode_literals
import re
from setuptools import setup, find_packages
def get_version(filename):
content = open(filename).read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content))
return metadata['version']
setup(
name='Mopidy-Subsonic',
version=get_version('mopidy_subsonic/__init__.py'),
url='https://github.com/Ulrar/Mopidy-Subsonic',
license='THE BEER-WARE LICENSE',
author='Kevin Lemonnier',
author_email='[email protected]',
description='Subsonic backend for mopidy',
long_description=open('README.rst').read(),
packages=find_packages(exclude=['tests', 'tests.*']),
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'setuptools',
'Mopidy',
'py-sonic',
],
entry_points={
'mopidy.ext': [
'subsonic = mopidy_subsonic:Extension',
],
},
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: End Users/Desktop',
'License :: Freely Distributable',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Topic :: Multimedia :: Sound/Audio :: Players',
],
)
#
#
# setup.py ends here