Adding updates for PyPI submission.

This commit is contained in:
Josh Marshall 2011-02-26 14:49:36 -06:00
parent 3291ce4250
commit efcf5eee0e
5 changed files with 33 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.pyc
build/*
dist/*

11
LICENSE.txt Normal file
View File

@ -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.

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
include *.txt

View File

@ -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

View File

@ -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()
)