-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·89 lines (74 loc) · 2.24 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
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
from setuptools import setup
from setuptools.extension import Extension
from setuptools.command.test import test as TestCommand
setup(
name = 'codplayer',
version = '2.1',
license = 'MIT',
description = 'Complicated CD player',
author = 'Peter Liljenberg',
author_email = '[email protected]',
keywords = 'cd cdparanoia cdrdao cdplayer',
url = 'https://github.com/petli/codplayer',
scripts = [ 'src/codplayerd',
'src/codctl',
'src/codadmin',
'src/codrestd',
'src/codlcd',
'src/codlircd',
],
package_dir = { '': 'src' },
packages = [ 'codplayer',
'codplayer.test' ],
package_data = {
'codplayer': [
'data/config/*.conf',
'data/dbadmin/*.html',
'data/dbadmin/*.js',
'data/dbadmin/*.css',
'data/dbadmin/*.woff',
'data/dbadmin/*/*.js',
'data/dbadmin/*/*.css',
],
'codplayer.test': ['data/*.xml'],
},
include_package_data = True,
# codrestd would like to use bottle.static_file, so ensure these are unpacked
eager_resources = [
'data/dbadmin'
],
ext_modules = [
Extension('codplayer.c_alsa_sink',
['src/codplayer/c_alsa_sink.c'],
libraries = ['asound'])],
test_suite = 'codplayer.test',
# Core player dependencies
install_requires = [
'python-daemon ~= 2.1',
'lockfile ~= 0.12',
'discid ~= 1.1',
'pyzmq ~= 16.0',
'pymad ~= 0.10'
],
dependency_links = [
# Uncomment this line to use a patched version of RPIO that supports
# Linux 4.x on RPi model B rev 2 (and possibly more versions)
# 'https://github.com/petli/RPIO/archive/v0.10.1-petli.zip#egg=RPIO-0.10.0'
],
extras_require = {
'lcd': [
'Adafruit-GPIO ~= 1.0.0',
'Adafruit_CharLCD ~= 1.0.0',
'RPIO == 0.10.0',
],
'rest': [
'tornado ~= 4.4',
'sockjs-tornado ~= 1.0',
'musicbrainzngs ~= 0.5',
],
},
setup_requires = [
"setuptools_git",
],
)