<h1>P4Python</h1> <p>This is an integration between Perforce and Python using the Perforce C++ API. It is by Robert Cowham based on the original work by Mike Meyers.</p> <p>As such it needs to be built and installed, but this should be very straight forward if you have Python 2.2 or later since it uses Disutils module.</p> <p>To install:</p> <p> python setup.py install</p> <p>Usage is shown in the test harness <a href="test_p4python.py"> test_p4python.py</a>. The test harness assumes that you have set up a configuration file which is called the <name of your machine>.py - see example and update for your environment. It assumes that you have a copy of the Perforce training depot running on the specified port.</p> <p>It is very similar to <a href="http://public.perforce.com/guest/tony_smith/perforce/API/Ruby/index.html"> P4Ruby</a> and <a href="http://public.perforce.com/guest/tony_smith/perforce/API/Perl/index.html"> P4Perl</a> by Tony Smith.</p> <p>More documentation and examples to follow shortly!!</p>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 4766 | Robert Cowham |
Rather better documentation (and license and changelog). Reorganised dirs. Added .zip file and windows binary installer. |
||
#2 | 4758 | Robert Cowham |
Fix line endings. Make less Windows specific. |
||
#1 | 4756 | Robert Cowham |
Revised substantially. Placeholder for docs. |