User Tools

Site Tools


programming:python:pyradix_search_all_patch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
programming:python:pyradix_search_all_patch [2008/07/05 20:58] crustymonkeyprogramming:python:pyradix_search_all_patch [2008/07/05 21:26] crustymonkey
Line 13: Line 13:
 Usage: Usage:
 <code> <code>
-Radix.search_all_containing(<network>) -> [ <node> , <node> , ...] or None+Radix.search_all_containing(<network>) -> [ <node> , <node> , ...]
 </code> </code>
 <code python> <code python>
Line 130: Line 130:
  
 ===== Patching ===== ===== Patching =====
-  - Download the above patch file +Download the above patch file and do the following: 
-  - ''cp radix_python.c.patch.gz /path/to/untarred/py-radix/source/directory'' +<code> 
-  - ''cd /path/to/untarred/py-radix/source/directory'' +cp radix_python.c.patch.gz /path/to/untarred/py-radix/source/directory 
-  - ''gunzip radix_python.c.patch.gz'' +cd /path/to/untarred/py-radix/source/directory 
-  - ''patch -p0 radix_python.c < radix_python.c.patch'' +gunzip radix_python.c.patch.gz 
-  - Run the normal install for the py-radix module: ''python setup.py install''+patch -p0 radix_python.c < radix_python.c.patch 
 +python setup.py install 
 +</code> 
 +The last line there will install the patched module.
  
programming/python/pyradix_search_all_patch.txt · Last modified: 2008/07/05 22:10 by crustymonkey