-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathINSTALL_REPO.txt
executable file
·85 lines (47 loc) · 2.07 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
Installing python-openzwave from repositories
*********************************************
Install the needed tools
========================
You must install git and other tools to get sources of python-
openzwave and openzwave. Look at the documentation of your Linux
distribution to do that.
On a debian like distribution :
sudo apt-get install git python-dev cython python-pip
You also need some python modules, on a debian like distribution :
sudo apt-get install python-dev python-setuptools python-louie
TODO : installation for python 3
You need sphinx and make to generate the documentation.
On a debian like distribution :
sudo apt-get install python-sphinx make
You also need to install some sphinx contributions :
sudo pip install sphinxcontrib-blockdiag sphinxcontrib-actdiag
sudo pip install sphinxcontrib-nwdiag sphinxcontrib-seqdiag
To compile the openzwave library, you need the common builds tools and
the libudev developments headers.
On a debian like distribution :
sudo apt-get install build-essential libudev-dev g++
Get sources of python-openzwave
===============================
You are now ready to download sources of python-openzwave :
git clone https://github.com/bibi21000/python-openzwave
The previous command will create a copy of the official repository on
your computer in a directory called python-openzwave.
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.
./update.sh
When update process is done, you can compile sources
./compile.sh
Or if you have already build python-openzwave in a previous
installation, you can use the clean option to remove old builds.
./compile.sh clean
Installation
============
You can now install the packages using the following command will.
sudo ./install.sh
The installation script create a list of installed files. So you can
remove python-openzwave using the following command :
sudo ./uninstall.sh