Running ArchGenXML 1.6 trunk
Although there are some useful instructions on how to setup agx trunk (1.6), here are some quick steps on how to get started with it:
- checkout the trunk in a folder (on my computer it will be /home/tibi/Software/agx)
- run python setup.py develop (I'm running Ubuntu Feisty and I have a custom python build in /opt/python, so I'm running /opt/python/bin/python setup.py install). I also have the setuptools already installed. This will place a shortcut to the agx checkout in the easy_install.pth. This will also place an "archgenxml" script in /opt/python/bin, this will be the executable to run to generate code
- Following the instructions, I've added an .agx_zope_path file, with the following content:
/home/tibi/zope3checkout/src/
In the zope3checkout I have a Zope 3.4 trunk checkout, so I've pointed agx to the src folder.
In my case, I had some further problems. There was an egg for zope.testing that was installed in easy_install.pth, which I needed to take out before I could properly run the archgenxml script. If you have problems with agx finding the zope components, place some debug lines in the zopeimportfixer.py file or examine the generated archgenxml.log files.