-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
61 lines (58 loc) · 3.71 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
#!/usr/bin/env python3
# This file is part of OpenPlotter.
# Copyright (C) 2022 by sailoog <https://github.com/openplotter/openplotter-settings>
# e-sailing <https://github.com/e-sailing/openplotter>
# Openplotter is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# any later version.
# Openplotter is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Openplotter. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup
from openplotterSettings import version
setup (
name = 'openplotterSettings',
version = version.version,
description = 'Main openplotter app',
license = 'GPLv3',
author="Sailoog",
author_email='[email protected]',
url='https://github.com/openplotter/openplotter-settings',
install_requires=['wxPython','pyudev','ujson'],
packages=['openplotterSettings'],
classifiers = ['Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3'],
include_package_data=True,
entry_points={'console_scripts': ['openplotter-settings=openplotterSettings.openplotterSettings:main','openplotter-startup=openplotterSettings.startup:main','openplotterPostInstall=openplotterSettings.postInstall:main','settingsPreUninstall=openplotterSettings.settingsPreUninstall:main','settingsSourcesInstall=openplotterSettings.installSources:main','openplotter-shutdown=openplotterSettings.shutdown:main','openplotter-backlight-gui=openplotterSettings.backlightGui:main','openplotter-ap=openplotterSettings.ap:main']},
scripts=['bin/toggle-wvkbd','bin/toggle-matchbox','bin/create_ap_interface'],
data_files=[('share/applications', ['openplotterSettings/data/openplotter-settings.desktop','openplotterSettings/data/openplotter-check.desktop']),('share/pixmaps', ['openplotterSettings/data/openplotter-settings.png', 'openplotterSettings/data/openplotter-48.png', 'openplotterSettings/data/openplotter-check.png', 'openplotterSettings/data/brightness-48.png']),
('share/sounds/openplotter', ['openplotterSettings/data/sounds/Bleep.mp3',
'openplotterSettings/data/sounds/House_Fire_Alarm.mp3',
'openplotterSettings/data/sounds/Ship_Bell.mp3',
'openplotterSettings/data/sounds/Store_Door_Chime.mp3',
'openplotterSettings/data/sounds/Tornado_Siren_II.mp3',]),
('share/matchbox-keyboard', ['openplotterSettings/data/keyboards/base-fragment-CAT.xml',
'openplotterSettings/data/keyboards/keyboard-CAT.xml',
'openplotterSettings/data/keyboards/base-fragment-EN.xml',
'openplotterSettings/data/keyboards/keyboard-EN.xml',
'openplotterSettings/data/keyboards/arrow2.png',
'openplotterSettings/data/keyboards/return2.png',
'openplotterSettings/data/keyboards/shift2.png',
'openplotterSettings/data/keyboards/shift_caps2.png',
'openplotterSettings/data/keyboards/keyboard-IT-normal.xml',
'openplotterSettings/data/keyboards/keyboard-IT-full.xml',
'openplotterSettings/data/keyboards/full-fragment-it_IT.xml',
'openplotterSettings/data/keyboards/normal-fragment-it_IT.xml',
'openplotterSettings/data/keyboards/key-up.png',
'openplotterSettings/data/keyboards/key-down.png',
'openplotterSettings/data/keyboards/key-right.png',
'openplotterSettings/data/keyboards/key-left.png',
'openplotterSettings/data/keyboards/control.png'])
]
)