pprocess

README.txt

41:9a243ff7c5c2
2005-10-11 paulb [project @ 2005-10-11 17:11:50 by paulb] Added copyright and licence information.
     1 Introduction
     2 ------------
     3 
     4 The pprocess module provides elementary support for parallel programming in
     5 Python using a fork-based process creation model in conjunction with a
     6 channel-based communications model implemented using socketpair and poll.
     7 
     8 Quick Start
     9 -----------
    10 
    11 Try running some of the tests:
    12 
    13 PYTHONPATH=. python tests/create_loop.py
    14 PYTHONPATH=. python tests/start_loop.py
    15 
    16 (Simple loop demonstrations which use two different ways of creating and
    17 starting the parallel processes.)
    18 
    19 PYTHONPATH=. python tests/start_indexer.py <directory>
    20 
    21 (A text indexing demonstration, where <directory> should be a directory
    22 containing text files to be indexed, although HTML files will also work well
    23 enough. After indexing the files, a prompt will appear, words or word
    24 fragments can be entered, and matching words and their locations will be
    25 shown. Run the program without arguments to see more information.)
    26 
    27 Contact, Copyright and Licence Information
    28 ------------------------------------------
    29 
    30 No Web page has yet been made available for this work, but the author can be
    31 contacted at the following e-mail address:
    32 
    33 paul@boddie.org.uk
    34 
    35 Copyright and licence information can be found in the docs directory - see
    36 docs/COPYING.txt and docs/LICENCE.txt for more information.
    37 
    38 Dependencies
    39 ------------
    40 
    41 This software depends on standard library features which are stated as being
    42 available only on "UNIX"; it has only been tested on a GNU/Linux system.
    43 
    44 New in parallel 0.2 (Changes since parallel 0.1)
    45 ------------------------------------------------
    46 
    47   * Changed the name of the included module from parallel to pprocess in order
    48     to avoid naming conflicts with PyParallel.
    49 
    50 Release Procedures
    51 ------------------
    52 
    53 Update the pprocess __version__ attribute.
    54 Change the version number and package filename/directory in the documentation.
    55 Update the release notes (see above).
    56 Check the release information in the PKG-INFO file.
    57 Tag, export.
    58 Archive, upload.
    59 Update PyPI, PythonInfo Wiki, Vaults of Parnassus entries.
    60 
    61 Making Packages
    62 ---------------
    63 
    64 To make Debian packages:
    65 
    66   1. Create new package directories under packages/debian if necessary.
    67   2. Make a symbolic link in the distribution's root directory to keep the
    68      Debian tools happy:
    69 
    70      ln -s packages/debian/python2.4-parallel-pprocess/debian/
    71 
    72   3. Run the package builder:
    73 
    74      dpkg-buildpackage -rfakeroot
    75 
    76   4. Locate and tidy up the packages in the parent directory of the
    77      distribution's root directory.