forked from balloob/python-openzwave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL_REPO.txt
executable file
·109 lines (63 loc) · 2.38 KB
/
INSTALL_REPO.txt
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Installing python-openzwave from repository
*******************************************
Install the needed tools
========================
You must install git and make to retrieve sources of python-openzwave
and openzwave.
On a debian like distribution :
sudo apt-get install -y git make
Get sources of python-openzwave
===============================
You are now ready to download sources of python-openzwave :
git clone https://github.com/OpenZWave/python-openzwave
The previous command will create a copy of the official repository on
your computer in a directory called python-openzwave.
Install dependencies
====================
You need some tools (a c++ compiler, headers dir python, ...) to build
python-openzwave and openzwave library.
On a debian like distribution :
sudo make repo-deps
For non-debian (fedora, ...), you can retrieve the packages needed in
the Makefile.
Update and build process
========================
Go to the previously created directory
cd python-openzwave
The following command will update your local repository to the last
release of python-openzwave and openzwave.
make update
When update process is done, you can compile sources
make build
Or if you have already build python-openzwave in a previous
installation, you can use the clean target to remove old builds.
sudo make clean
Do not use root to build python-openzwave as it will surely fails.
Please use a "normal user".
Installation
============
You can now ready to install the eggs using the following command :
sudo make install
You can also remove python-openzwave using :
sudo make uninstall
Running tests
=============
You can launch the regression tests using :
make tests
Keep in mind that the tests will "play" with your nodes : switching on
and off, dimming, adding and removing scenes, ...
About the repositroy
====================
This repository is a development tool, so it might be "unstable" ...
yeah, sometimes it won't build anymore :)
If you want to retrieve the last "good" commit, look at
https://github.com/OpenZWave/python-openzwave/commits/master. The
commits names "Auto-commit for docs" are done after the full process :
build + test + docs, so they might be "working" (almost for me).
You can also build a released version of python-openzwave using tags :
git tag
v0.3.0-alpha2
v0.3.0-alpha3
v0.3.0-beta1
v0.3.0-beta2
v0.3.0a1