Adding updates for PyPI submission.
This commit is contained in:
parent
3291ce4250
commit
efcf5eee0e
|
@ -1,2 +1,3 @@
|
|||
*.pyc
|
||||
build/*
|
||||
dist/*
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
|
@ -0,0 +1 @@
|
|||
include *.txt
|
18
README.md
18
README.md
|
@ -42,6 +42,22 @@ should already have one. Keep in mind that cjson is supposed to be the
|
|||
quickest, I believe, so if you are going for full-on optimization you may
|
||||
want to pick it up.
|
||||
|
||||
Installation
|
||||
------------
|
||||
You can install this from PyPI with one of the following commands (sudo
|
||||
may be required):
|
||||
|
||||
easy_install jsonrpclib
|
||||
pip install jsonrpclib
|
||||
|
||||
Alternatively, you can download the source from the github repository
|
||||
at http://github.com/joshmarshall/jsonrpclib and manually install it
|
||||
with the following commands:
|
||||
|
||||
git clone git://github.com/joshmarshall/jsonrpclib.git
|
||||
cd jsonrpclib
|
||||
python setup.py install
|
||||
|
||||
Client Usage
|
||||
------------
|
||||
|
||||
|
@ -200,4 +216,4 @@ You can run it with:
|
|||
TODO
|
||||
----
|
||||
* Use HTTP error codes on SimpleJSONRPCServer
|
||||
* Test, test, test and optimize
|
||||
* Test, test, test and optimize
|
||||
|
|
5
setup.py
5
setup.py
|
@ -17,12 +17,13 @@ import distutils.core
|
|||
|
||||
distutils.core.setup(
|
||||
name = "jsonrpclib",
|
||||
version = "0.13",
|
||||
version = "0.1.3",
|
||||
packages = ["jsonrpclib"],
|
||||
author = "Josh Marshall",
|
||||
author_email = "catchjosh@gmail.com",
|
||||
url = "http://code.google.com/p/jsonrpclib/",
|
||||
url = "http://github.com/joshmarshall/jsonrpclib/",
|
||||
license = "http://www.apache.org/licenses/LICENSE-2.0",
|
||||
description = "This project is an implementation of the JSON-RPC v2.0 " +
|
||||
"specification (backwards-compatible) as a client library.",
|
||||
long_description = open("README.md").read()
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue