-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
36 lines (30 loc) · 927 Bytes
/
Makefile
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
ui_files:
sudo `which python` build.py ui_files
@echo "SIGNALUM >>> generated py code from ui"
resources:
pyrcc5 src/main/resources/icons.qrc -o src/main/python/qt/resources.py
@echo "SIGNALUM >>> transformed resources complete"
dependencies:
sudo apt-get install bluetooth libbluetooth-dev
@echo "SIGNALUM >>> install python dependencies"
pip install -r requirements/linux.txt
dev:
# build ui files
make ui_files
@echo "SIGNALUM >>> starting gui program"
sudo `which python` build.py run
freeze:
# freeze app
make ui_files
@echo "SIGNALUM >>> freezing application ..."
`which python` build.py freeze --debug
@echo "SIGNALUM >>> completed freeze"
installer:
# make installer
make ui_files
@echo "SIGNALUM >>> creating installer"
`which python` build.py installer
@echo "SIGNALUM >>> created installer"
uninstall:
pip uninstall -r requirements/linux.txt
@echo "SIGNALUM >>> uninstallation complete"