]> kaliko git repositories - mpd-sima.git/blob - setup.py
Fixed typo in randomfallback
[mpd-sima.git] / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 import glob
5
6 from setuptools import setup, find_packages  # >= 2.0.2
7 from os import listdir
8 from os.path import isfile, isdir
9
10 from sima.info import __version__ as VERSION, __author__ as AUTHOR
11 from sima.info import __doc__ as DESCRIPTION, __email__ as EMAIL
12
13 data_files = [
14     ('share/man/man1', ['data/mpd-sima.1',]),
15     #('share/man/man1', ['data/mpd-sima.1', 'data/simadb_cli.1',]),
16     #('share/man/man5', ['data/mpd-sima.cfg.5',]),
17     ('share/doc/mpd-sima/examples/', glob.glob('doc/examples/*')),
18     #('share/doc/mpd-sima/', [fi for fi in listdir('doc') if isfile(fi)]),
19 ]
20 classifiers = [
21         "Development Status :: 5 - Production/Stable",
22         "Environment :: Console",
23         "Environment :: No Input/Output (Daemon)",
24         "Intended Audience :: End Users/Desktop",
25         "License :: OSI Approved :: GNU General Public License (GPL)",
26         "Operating System :: POSIX",
27         "Topic :: Multimedia :: Sound/Audio",
28         "Topic :: Utilities",
29         "Programming Language :: Python :: 3",
30         ]
31
32 setup(name='sima',
33       version=VERSION,
34       download_url='http://kaliko.me/media/src/sima/releases/',
35       url='http://kaliko.me/code/mpd-sima',
36       description='Automagically add titles to MPD playlist',
37       author=AUTHOR,
38       author_email= EMAIL,
39       license='GPLv3',
40       keywords='MPD',
41       long_description=DESCRIPTION,
42       classifiers=classifiers,
43       install_requires=['python-musicpd', 'requests'],
44       packages=find_packages(),
45       include_package_data=True,
46       data_files=data_files,
47       #scripts=['mpd-sima'],
48       entry_points={
49           'console_scripts': ['mpd-sima = sima.launch:main',]
50           },
51 )
52
53 # VIM MODLINE
54 # vim: ai ts=4 sw=4 sts=4 expandtab