-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHACKING
More file actions
17 lines (13 loc) · 750 Bytes
/
HACKING
File metadata and controls
17 lines (13 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
If you are developing PCS and do not wish to install it, do:
> python setup.py config <return>
> python setup.py build <return>
After this, the build/ directory should contain a "lib.<platform>"
subdirectory. Add this to your PYTHONPATH and you can test PCS without
performing a full installation.
Note: Make sure that you do not try to import PCS whilst you are in the
top level of this tree, otherwise Python will look for the pcs package
relative to the current directory. There is a pcs/pcap subdirectory. This
will cause the interpreter to match the directory first instead of pcap.so.
An ImportError exception will be raised, but it won't tell you that you're
trying to import a directory. This happens even if PYTHONPATH is set
correctly.