Hi All,
On Wednesday 22 April 2009 16:12:28 Rasjid wrote: > I'm currently working on (and mostly > finished) a fully bi-directional fully asynchronous json-rpc server > and client written with Kamaelia, Since this conversation, Rasjid and I continued this discussion off list, and over a longer period than I think either of us realised, Rasjid contributed this code back to the project - which is extremely welcome - thank you! The original code/code layout is here: http://code.google.com/p/kamaelia/source/browse/trunk/Sketches/Contrib/jsonrpc/ However, in order to make it more generally useful faster/easier, I've created the namespace Kamaelia.Apps.JsonRPC to be owned by this project. In practical terms, I've created a branch for work to be able to continue on this called private_MPS_RW_JsonRpc Inside /branches/private_MPS_RW_JsonRpc/Apps, a new Apps directory has been created called JsonRPC The structure inside /branches/private_MPS_RW_JsonRpc/Apps/JsonRPC is this: . ./App ./App/server-test.py ./App/client-test.py ./Doc ./Doc/README # needs writing! :-) ./Config ./jsonrpc.py ./MANIFEST.in ./DistBuild ./DistBuild/upload.sh ./DistBuild/setup.py.src ./DistBuild/BuildRelease.sh ./DistBuild/CleanBuild.sh In order to build a distribution, you do this: ~> cd DistBuild/ ~> ./BuildRelease.sh Building the Kamaelia JSON RPC Server Distribution -------------------------------------------------- Copying current Axon Copying current Kamaelia Copying authors & copying files Creating setup.py file running sdist warning: sdist: standard file not found: should have one of README, README.txt reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG' writing manifest file 'MANIFEST' <snip usual lots of lines> This leaves a tarball in dist ~> cd ../dist/ ~> ls Kamaelia-JsonRPC-0.0.1.tar.gz ~> tar zxf Kamaelia-JsonRPC-0.0.1.tar.gz You can find this tarball here: http://www.kamaelia.org/release/Kamaelia-JsonRPC-0.0.1.tar.gz To install: ~> cd Kamaelia-JsonRPC-0.0.1/ ~> sudo python setup.py install --force This installs: * Rasjid's components * jsonrpc * Axon & Kamaelia There's an issue with mainline Axon.Handle at present which I need to track down (nothing to do with Rasjid's code, except it uses Axon.Handle), but once that's resolved this should just work fine. If you let me have your code.google developer id, I can let you "own" these two parts of the tree: /trunk/Code/Python/Kamaelia/Kamaelia/Apps/JsonRPC /trunk/Code/Python/Apps/JsonRPC/ Which you can then use as you would normally, except you can build your own specific distributions, whilst also simplifying the use of your code inside other Kamaelia systems. Assuming you're happy with this Rasjid, I'll merge this onto /trunk - since it allows you the freedom to continue developing this without being constrained by the main project. I think this then enables me to get out of the way, and to be able to help where needed :) Once again, many thanks - this is a really cool contribution :) Regards, Michael. -- http://yeoldeclue.com/blog http://twitter.com/kamaelian http://www.kamaelia.org/Home --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---
