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
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import glob
from os import listdir
from os.path import isfile
from setuptools import setup, find_packages # >= 2.0.2
from sima.info import __version__ as VERSION, __author__ as AUTHOR
from sima.info import __doc__ as DESCRIPTION, __email__ as EMAIL
data_files = [
('share/doc/mpd-sima/examples/', glob.glob('doc/examples/*')),
('share/doc/mpd-sima/', [fi for fi in listdir('doc') if isfile(fi)]),
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: POSIX",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
setup(name='MPD_sima',
version=VERSION,
download_url='http://media.kaliko.me/src/sima/releases/',
url='https://kaliko.me/mpd-sima',
description='Automagically add titles to MPD playlist',
author=AUTHOR,
author_email=EMAIL,
license='GPLv3',
keywords='MPD',
long_description=DESCRIPTION,
classifiers=classifiers,
install_requires=['python-musicpd>=0.7.0', 'requests>= 2.20.0'],
packages=find_packages(exclude=["tests"]),
include_package_data=True,
data_files=data_files,
entry_points={
'console_scripts': [
'mpd-sima = sima.launch:main',
]
},
test_suite="tests",
command_options={
'build_sphinx': {
'version': ('setup.py', VERSION),
'release': ('setup.py', VERSION),
'builder': ('setup.py', 'html,man'),
}
}
)
# VIM MODLINE
# vim: ai ts=4 sw=4 sts=4 expandtab
|