Skip to content
Richard Brooksby edited this page May 25, 2013 · 2 revisions

It's a shame that

pip install p4python

doesn't work. It makes it hard to set up automatically building environments that use Perforce from Python, like this:

virtualenv tool
tool/bin/pip install p4python

I've made a start at this.

virtualenv p4test
p4test/bin/pip install 'git+git://github.com/rptb1/p4python.git#egg=p4python'

now works on FreeBSD 7 at least. I have not verified the Perforce FTP site name guessing for other platforms. Judging by FreeBSD, the guesses in P4PythonInstaller may well be out of date. This is one of the reasons I think Perforce Software ought to think about maintaining the package like this.

Incidentally (and possibly a bug), the Perforce API p4api-2013.1.610569 does not seem to work on Mac OS X 10.8.3.

Clone this wiki locally