-
Notifications
You must be signed in to change notification settings - Fork 7
/
BUILDING
50 lines (28 loc) · 1.17 KB
/
BUILDING
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
Building Binary Distributions
=============================
Distributions are generated using stdeb, execute it on the Raspberry Pi to build for the correct architecture:
./package.sh
To debug installation:
sudo dpkg -D113 -i ../python-hackclock_2.3.0-1_all.deb
To completely uninstall:
sudo dpkg -P python-hackclock
To verify the files inside the package:
dpkg -c deb_dist/python-hackclock_2.3.0-1_all.deb
Requirements
============
Requires python-all and debhelper
Generating Debian Metadata
==========================
stdeb generates the debian/ folder automatically & this is version controlled.
However, if it needs regeneration one can save python-hackclock.postinst to a
separate directory, delete the debian/ directory, then re-issue:
python ./setup.py --command-packages=stdeb.command debianize
Running Locally
===============
To test locally:
export PYTHONPATH="$PYTHONPATH:$HOME/Projects/hack-clock/lib"
cd srv/hackclock
../../scripts/run_server.py --config "$HOME/Projects/hack-clock/tests/localsettings.conf"
Software License
================
Review the file LICENSE for details of this software's license and distribution terms.