p4cli.py #2

  • //
  • guest/
  • lester_cheung/
  • p4util/
  • p4cli.py
  • Commits
# Change User Description Committed
#2 8773 Lester Cheung "p4util" as an importable Python package.
#1 8534 Lester Cheung Great artists steal - so I'm stealing Sven's Python library
to make it better!
//guest/lester_cheung/scripts/p4cli.py
#2 8508 Lester Cheung Now works with Python2.5 :)

Tested with 2.{5,6,7} and 3.3.
#1 8507 Lester Cheung P4CLI - a wrapper class for P4, the command line client with
the same API as P4Python's P4 class.

Note:

* This is a work in progress - this revision only works for
     Python 2.6+ (tested with 2.7 & 3.3).

* Need a lot of test cases - help please. :)

* The mapping API (P4.Map in P4Python) is not supported by
     the command line client and thus will never be supported.