forked from home-assistant/python-openzwave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEVEL.txt
58 lines (33 loc) · 1.25 KB
/
DEVEL.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
Developers information
**********************
How to develop for python-openzwave
===================================
Fork the project on Github.
Get the sources :
git clone https://github.com/yourname/python-openzwave
You can install all the dependances to develop for python-openzwave
using the command :
sudo make developer-deps
You must now install python-openzwave in develop mode. Depending on
which python version you prefer, use :
make venv2-dev
or
make venv2-dev
Keep in mind that your updates must be python 2 / python 3 compatible.
Develop, test, debug, test, ... :)
Update the documentation if needed. You surely found the documentation
useful, so please keep it up to date.
It a good idea to add automatic tests.
Launch the full test suite (for python 2 and python 3) :
make venv-tests
At last but not least, submit your request with the result of tests in
the comment.
If you don't follow the previous steps, your PR will be refused or
letting in pending state until I've got time to test it.
Documentation
=============
First, install the dependances :
sudo make doc-deps
Documentation is managed with sphinx.
Don't update txt and rst files (README, INSTALL, ...) in the root
directory, update the RST sources in docs.