What is it ? ============ This package contains a Python module that allows to connect to call procedures on remote servers using the Sun RPC protocol. It also contains a code generator, that allows to generate client stubs for an RPC protocol. Documentation ============= The documentation and the examples are available in the doc/ directory. The main documentation is doc/rpcgen-doc.html. Installation ============ First of all, you need to install Ply, « Yet Another implementation of lex and yacc for Python », available from http://www.dabeaz.com/ply/. Version 2.2 has been tested successfully. To install it, simply uncompress the tarball, and run "python setup.py install" as root. On Debian, install libkrb5-dev and python-dev. There should be similar packages for other distributions. Then, simply run as root: # make install which will install the Python module and the pyrpcgen script on your system. Uninstallation ============== Simply run as root: # make uninstall Download ======== The latest stable version of pyrpc can be downloaded from http://thomas.enix.org/pub/pyrpc/. The latest development version is available from the Subversion repository available at https://ssl.bulix.org/svn/thomas/pyrpc/. Difference with rpcgen ====================== rpcgen automatically runs the C preprocessor (cc -E) before parsing the file, which allows to use #define, #include, #ifdef and other C preprocessor directives in XDR files. pyrpcgen doesn't run the C preprocessor, so you must do it manually if you want to use preprocessor directives. Authors ======= This code has been primarly written by Fred Isaman . The code generator is based on work done by Peter Astrand and has been extended by Thomas Petazzoni to generate client stubs. License ======= This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.