Permalink
Browse files

Update from Bruce Simpson on 28 April 2008

  • Loading branch information...
gvnn3 committed Jun 5, 2008
1 parent 00f2b22 commit 35d9a78c762c298e2c75b72a4bba0dd9cd70c5de
Showing with 756 additions and 41 deletions.
  1. +17 −0 HACKING
  2. +529 −23 pcs/__init__.py
  3. +8 −6 pcs/packets/arp.py
  4. +9 −6 pcs/packets/ethernet.py
  5. +11 −2 pcs/packets/udp.py
  6. +11 −4 pcs/pcap/pcap.pyx
  7. +75 −0 scripts/expect.py
  8. +96 −0 tests/divtest.py
  9. BIN tests/pcaptest.dump
View
17 HACKING
@@ -0,0 +1,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.
Oops, something went wrong.

0 comments on commit 35d9a78

Please sign in to comment.