2017-08-07 09:04:00 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim:fenc=utf-8
|
|
|
|
#
|
|
|
|
# This file is part of Supysonic.
|
|
|
|
# Supysonic is a Python implementation of the Subsonic server API.
|
|
|
|
#
|
2018-01-18 20:13:19 +00:00
|
|
|
# Copyright (C) 2013-2018 Alban 'spl0k' Féron
|
2017-08-07 09:04:00 +00:00
|
|
|
# 2017 Óscar García Amor
|
|
|
|
#
|
|
|
|
# Distributed under terms of the GNU AGPLv3 license.
|
2014-05-01 01:00:44 +00:00
|
|
|
|
2017-08-07 09:04:00 +00:00
|
|
|
import supysonic as project
|
2014-05-01 01:00:44 +00:00
|
|
|
|
2017-08-07 09:04:00 +00:00
|
|
|
from setuptools import setup
|
|
|
|
from setuptools import find_packages
|
2014-05-01 01:00:44 +00:00
|
|
|
|
|
|
|
|
2018-04-29 12:51:30 +00:00
|
|
|
reqs = [
|
|
|
|
'flask>=0.11',
|
2018-08-11 14:16:34 +00:00
|
|
|
'pony>=0.7.6',
|
2018-04-29 12:51:30 +00:00
|
|
|
'Pillow',
|
|
|
|
'requests>=1.0.0',
|
2019-01-13 16:18:27 +00:00
|
|
|
'mutagen>=1.33',
|
|
|
|
'zipstream'
|
2018-04-29 12:51:30 +00:00
|
|
|
]
|
|
|
|
extras = {
|
|
|
|
'watcher': [ 'watchdog>=0.8.0' ]
|
|
|
|
}
|
|
|
|
|
2017-08-07 09:04:00 +00:00
|
|
|
setup(
|
|
|
|
name=project.NAME,
|
|
|
|
version=project.VERSION,
|
|
|
|
description=project.DESCRIPTION,
|
|
|
|
keywords=project.KEYWORDS,
|
|
|
|
long_description=project.LONG_DESCRIPTION,
|
|
|
|
author=project.AUTHOR_NAME,
|
|
|
|
author_email=project.AUTHOR_EMAIL,
|
|
|
|
url=project.URL,
|
|
|
|
license=project.LICENSE,
|
2018-09-01 15:52:00 +00:00
|
|
|
packages=find_packages(exclude=['tests*']),
|
2018-04-29 12:51:30 +00:00
|
|
|
install_requires = reqs,
|
|
|
|
extras_require = extras,
|
2017-08-07 09:04:00 +00:00
|
|
|
scripts=['bin/supysonic-cli', 'bin/supysonic-watcher'],
|
|
|
|
zip_safe=False,
|
2017-08-07 11:10:06 +00:00
|
|
|
include_package_data=True,
|
2018-04-29 12:51:30 +00:00
|
|
|
test_suite='tests.suite',
|
|
|
|
tests_require = [ 'lxml' ] + [ r for er in extras.values() for r in er ],
|
2017-10-25 20:15:14 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Environment :: Console',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Framework :: Flask',
|
|
|
|
'Intended Audience :: End Users/Desktop',
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
'License :: OSI Approved :: GNU Affero General Public License v3',
|
2018-01-18 20:13:19 +00:00
|
|
|
'Programming Language :: Python :: 2',
|
2017-10-25 20:15:14 +00:00
|
|
|
'Programming Language :: Python :: 2.7',
|
2018-01-18 20:13:19 +00:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
2017-10-25 20:15:14 +00:00
|
|
|
'Topic :: Multimedia :: Sound/Audio'
|
|
|
|
]
|
2017-08-07 09:04:00 +00:00
|
|
|
)
|
2018-01-18 20:13:19 +00:00
|
|
|
|