-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·52 lines (50 loc) · 1.28 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='patchbox-cli',
version='1.4.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'click', 'urwid', 'dbus-python', 'python-dotenv'
],
package_data={
'patchbox.modules': [
'scripts/import_raspi_config.sh'
],
'patchbox.modules.boot': [
'scripts/set_boot_to_console.sh',
'scripts/set_boot_to_desktop.sh'
],
'patchbox.modules.module': [
'scripts/patchbox_init_as_user.sh',
'scripts/patchbox_stop_as_user.sh'
],
'patchbox.modules.update': [
'scripts/update.sh'
],
'patchbox.modules.kernel': [
'scripts/backup_kernel.sh',
'scripts/install_kernel_reg.sh',
'scripts/install_kernel_rt.sh',
'scripts/restore_backedup_modules.sh'
],
'patchbox.modules.wifi': [
'scripts/connect_wifi.sh',
'scripts/get_wifi_country.sh',
'scripts/set_wifi_country.sh',
'scripts/set_hs_password.sh',
'scripts/set_hs_ssid.sh',
]
},
data_files=[
('share/applications', ['patchbox-init.desktop', 'patchbox-stop.desktop']),
('/etc/xdg/autostart', ['patchbox-init.desktop']),
('share/patchbox-cli', ['version'])
],
entry_points='''
[console_scripts]
patchbox-config=patchbox.cli:cli
patchbox=patchbox.cli:cli
''',
)