forked from Rydra/bgm-for-es
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (26 loc) · 841 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
import unittest
def get_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('test', pattern='test_*.py')
return test_suite
setup(
name='es-bgm',
version='1.0.1',
packages=['bgm'],
url='',
license='GPL',
package_data={'bgm': ['bgmconfig.ini']},
author='David Jimenez',
author_email='[email protected]',
description='Allows you to add background music to EmulationStation',
requires=['mock', 'pytest'],
entry_points=
{'console_scripts':
['startbgm = bgm:main']
},
test_suite='setup.get_test_suite',
data_files=[('/lib/systemd/system', ['service/bgm.service']),
('/etc', ['cfg/bgmconfig.ini']),
('/home/pi/RetroPie/roms/music', ['extra/PLACE_YOUR_MUSIC_HERE'])]
)