Building PyPN

For those that are working with PN from subversion at the moment, you may need a bit of help getting the python extension going properly:

First you need to build boost_python. I did this using visual studio (too lazy to work out bjam) and so my lib is boost_python.lib. If you use bjam you’ll end up with something like “boost_python-vc71-mt-gd-1_33_1.lib” (!) so you’ll need to change the name of the link target for that to work.

Once you have got everything to build, you also need some python files in place in the bin directory. These are in the source tree under pypn\scripts, so just copy the contents of that directory to bin (so you have directly in bin and new pypn and scripts subdirectories) and you should be all set to go.

I’ll follow this up shortly with a “how PyPN works” post. I’m looking for feedback on this because it’s not finished yet and I think some parts are maybe too complex - I feel there are bits that could do with paying more attention to the KISS principle.