Hi,
while browsing in my Python sources (the sources for the interpreter, 2.0) I found
a module called pdist or something like that which seems to contain a basic
implementation of CVS and RCS protocols in native Python. Maybe you want
to take a look at that, too. However, calling the cvs executable is probably the
more compatible appraoch…
Lars
Brendan J Simon brendan.simon@bigpond.com
Sent by: wxpython-users-admin@lists.sourceforge.net
24/01/01 05:20
Please respond to wxpython-users
···
To: wxpython-users@lists.sourceforge.net
cc:
Subject: [wxPython] wxPython: cross platform access to cvs commands (to implement wxCvs)
I’ve written a simple GUI front end for CVS called (wxCvs). I know want
to add the CVS guts so that I can work with real repositories. I’d like
some ideas on the best way to implement this for a cross platform
application. The following options are what I have thought of but there
may be some better ways that I haven’t thought of.
- call a command line cvs. Is there a good cross platform way of doing
this ?? Options are os.system(), os.fork()/exec(). These seem to
behave differently on different platforms. It also means that the one
version of wxCvs will behave differently depending on what version of
cvs is installed.
- call some kind of cvs library (is there a python cvs module
available?). WinCvs (C++) links in with a cvs library which I think is
maintained by the WinCvs author.
I’m really keen to make this as easy to be used (and developed) for
any platform. I’m happy to put conditional code in for various
platforms only if there is no other alternative.
Thanks for any help and ideas,
Brendan Simon.
wxPython-users mailing list