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.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
|
|
|
# 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
|
|
|
|
from pip.req import parse_requirements
|
|
|
|
from pip.download import PipSession
|
2014-05-01 01:00:44 +00:00
|
|
|
|
|
|
|
|
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,
|
|
|
|
packages=find_packages(),
|
|
|
|
install_requires=[str(x.req) for x in
|
|
|
|
parse_requirements('requirements.txt', session=PipSession())],
|
|
|
|
scripts=['bin/supysonic-cli', 'bin/supysonic-watcher'],
|
|
|
|
zip_safe=False,
|
2017-08-07 11:10:06 +00:00
|
|
|
include_package_data=True,
|
|
|
|
test_suite="tests.suite"
|
2017-08-07 09:04:00 +00:00
|
|
|
)
|