On Fri, Feb 17, 2012 at 5:54 PM, Jeffrey Van Voorst
<[email protected]> wrote:
> I have a flask extension for jsonrpc that I have been using recently.
> I *could* put it in pyjs, but it currently depends on joshmarshall's
> jsonrpc lib and is thus only jsonrpc 2.0 (I don't particularlly have
> the need to support 1.1 at this time).  Also note that this method is
> probably a better choice than the way I did things in the
> examples/misc/flaskexamples.

 this is incredibly confusing.  there is a lot of context missing
which you probably understand but people who have no idea what flask
is or who joshmarshall is will have absolutely no idea what you're
referring to.

 also it does not help that you are referring to libraries, protocols
and also servers that *implement* those protocols by the same word
"jsonrpc" without clarification or links to source code such that
people can check unambiguously what you're referring to.

 additionally you haven't actually said what it is that you want to do!

 however, through this mass of confusion and lack of context, i
believe it may be the case that you would like to add some code to
pyjamas which depends on external libraries, is that correct?

 if so please feel free to do exactly that, as long as you *do not*
force people to install those dependencies, and you document,
precisely, what those dependencies are (preferably in a README or at
the top of the code).

 at some point when it comes to updating the debian packaging i or the
package maintainer will then be able to look at what you've
documented, split out what you've done into its own separate package
and add the appropriate dependencies to that specific sub-package so
that the entire pyjamas codebase is *not* dependent entirely on that
dependency.

 other than that you're really going to have to explain a bit more and
give some proper context.  also the source code of an example would
help as well.


> For example, I noticed that the cherrypy jsonrpc only depends on
> cherrypy,

 that's right.

> and I am not sure if you want something in the pyjamas code
> base that depends on a possibly different jsonrpclib from the one luke
> is using.

 i am not using "a jsonrpclib", and even if i was there is absolutely
no connection between what i personally am using and what is in the
codebase known as pyjamas.

 apologies - my alarm bells go off when people use personal pronouns
to refer to code.  please refer to "the code", and if it is not clear
which code, provide a unique identifier such as a URL to the home page
from which "the code" may be downloaded (including a version number if
absolutely necessary).

 specifically: please do not use my personal name as the unique
qualifier to identify any code - i don't like it.

 thanks jeffrey.

 l.

Reply via email to