forked from kozec/sc-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·36 lines (33 loc) · 1.31 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
#!/usr/bin/env python
from distutils.core import setup, Extension
import glob
data_files = [
('share/scc/glade', glob.glob("glade/*.glade")),
('share/scc/glade/ae', glob.glob("glade/ae/*.glade")),
('share/scc/images', glob.glob("images/*.svg")),
('share/scc/images', glob.glob("images/*.svg.json")),
('share/scc/default_profiles', glob.glob("default_profiles/*.sccprofile")),
('share/scc/default_profiles', glob.glob("default_profiles/.*.sccprofile")),
('share/scc/default_menus', glob.glob("default_menus/*.menu")),
('share/scc/default_menus', glob.glob("default_menus/.*.menu")),
('share/pixmaps', [ "images/sc-controller.svg" ]),
('share/mime/packages', [ "scc-mime-types.xml" ]),
('share/applications', ['sc-controller.desktop' ]),
('lib/udev/rules.d', glob.glob('scripts/*.rules')),
]
setup(name='sccontroller',
version='0.2.6',
description='Standalone controller maping tool',
author='kozec',
packages=['scc', 'scc.gui', 'scc.gui.ae', 'scc.lib', 'scc.x11',
'scc.foreign', 'scc.osd'],
data_files = data_files,
scripts=['scripts/sc-controller', 'scripts/scc-daemon',
'scripts/scc-osd-message', 'scripts/scc-osd-menu',
'scripts/scc-osd-keyboard'],
license='GPL2',
platforms=['Linux'],
ext_modules=[
Extension('libuinput', sources = ['scc/uinput.c']),
]
)