Getting Libanjuta-python from SourceForge subversion server

Subversion is a powerful tool to allow many developers work on the same source code. This is possible because each developer checks out a copy of the current version of the source code. Then, each developer independently works on his or her own personal copy of the sources. When the developer has made changes, he or she commits them back to the subversion repository. The subversion server then takes care of things like trying to merge each developer's changes with those of others. When that doesn't work, the developer is notified, and he or she must do a hand merge of the conflicts.

To check out the latest version of libanjuta-python, run:

$ svn checkout libanjuta-python

After you have checked the code out, to update your code, use:

$ svn update (in the libanjuta-python directory)

If you just want to browse the latest version go here.

Compiling Libanjuta-python

Before compiling it, you need to have Anjuta and PyGTK installed.

A patch is needed in the program generating the Python bindings in PyGtk to support Anjuta interface function. I have written such patch but it is still not included in PyGtk, you have to apply it yourself. It adds a new attribute, so keep the backward compatibility, you can get it here.

Then run the common sequence:

$ ./
$ make
$ su [password]
$ make install

This should install 3 new plugins in Anjuta, the python-loader plugin which contains the Python bindings, a minimal sample plugin written in python and the Python debugger plugin which use Winpdb.

Improving Libanjuta-python

Currently, my main goal is not really to wrap all Anjuta functions but rather to write a debugger plugin for Python in Python itself. That's why only a part of the interface has been wrapped currently. Anyway, the debugger interface is quite complex so I think I have probably solved most issues. I think now most of the work should be rather easy, just writing wrapper for functions those cannot be wrapped automatically.

Getting support

You can ask your questions regarding libanjuta-python on Anjuta mailing lists:

or on IRC