forked from Neo-Oli/termux-mpd-notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (29 loc) · 1.02 KB
/
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
30
31
#!/usr/bin/env python3
# coding=utf-8
from __future__ import unicode_literals, print_function
import sys
from termuxmpdnotifications import __version__
from setuptools import setup
import os
def read_reqs(path):
with open(path, 'r') as file:
return list(file.readlines())
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)
requires = read_reqs('requirements.txt')
setup(
name='Termux-MPD-Notifications',
version=__version__,
description='Daemon to display Android Notifications for MPD on Termux',
author='Oliver Schmidhauser',
author_email='[email protected]',
url='oliverse.ch',
packages=[str('termuxmpdnotifications')],
# data_files=[('translations', ['translations/en.yml','translations/de.yml']),
# ('config',['config/default.yml'])],
license='',
platforms='Linux x86, x86-64',
install_requires=requires,
entry_points={'console_scripts': ['termux-mpd-notifications = termuxmpdnotifications.__main__:main']},
)