Jonathan Ellis<[email protected]> wrote: > IIRC my objection there was that for things like thrift/py that assume > part of thrift is installed "normally" in python site-packages you > can't just give someone a self-contained client module w/o some pretty > gross hacks.
I was assuming one would use the existing Thrift setup.py to distribute an sdist tarball or a setuptools egg, and then have a Cassandra setup.py that includes the generated source package, and any wrapper utilities the Cassandra community deems useful. Evan Weaver<[email protected]> wrote: > Does the Thrift JSON stuff still require you to generate client bindings? It's standard JSON, so no you don't have to generate client bindings. To be honest, I've never used it myself (just BinaryProtocol) but reading through http://svn.apache.org/repos/asf/incubator/thrift/trunk/lib/java/src/org/apache/thrift/protocol/TJSONProtocol.java it looks like the objects it produces have a normal JSON structure, and identify field IDs and the Thrift type of the value. Michael
