forked from ok100/lyvi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (24 loc) · 899 Bytes
/
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
from setuptools import setup
from pip.req import parse_requirements
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements('pip_requirements.txt')
setup(
name='Lyvi',
version='2.0-git',
description='Command-line lyrics (and more!) viewer',
long_description=open('README.rst').read(),
url='http://ok100.github.io/lyvi/',
author='Ondrej Kipila',
author_email='[email protected]',
license='WTFPL',
packages=['lyvi', 'lyvi.players'],
entry_points={
'console_scripts': [
'lyvi = lyvi:main'
]
},
install_requires=[str(ir.req) for ir in install_reqs],
package_data={'lyvi': ['data/pianobar/*']},
data_files=[('share/man/man1', ['doc/lyvi.1'])]
)
print('To enable MPRIS support, please make sure to have python-dbus and python-gobject modules installed.')