Skip to content

Commit efcf5ee

Browse files
committed
Adding updates for PyPI submission.
1 parent 3291ce4 commit efcf5ee

File tree

5 files changed

+33
-3
lines changed

5 files changed

+33
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.pyc
22
build/*
3+
dist/*

LICENSE.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Licensed under the Apache License, Version 2.0 (the "License");
2+
you may not use this file except in compliance with the License.
3+
You may obtain a copy of the License at
4+
5+
http://www.apache.org/licenses/LICENSE-2.0
6+
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include *.txt

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ should already have one. Keep in mind that cjson is supposed to be the
4242
quickest, I believe, so if you are going for full-on optimization you may
4343
want to pick it up.
4444

45+
Installation
46+
------------
47+
You can install this from PyPI with one of the following commands (sudo
48+
may be required):
49+
50+
easy_install jsonrpclib
51+
pip install jsonrpclib
52+
53+
Alternatively, you can download the source from the github repository
54+
at http://github.com/joshmarshall/jsonrpclib and manually install it
55+
with the following commands:
56+
57+
git clone git://github.com/joshmarshall/jsonrpclib.git
58+
cd jsonrpclib
59+
python setup.py install
60+
4561
Client Usage
4662
------------
4763

@@ -200,4 +216,4 @@ You can run it with:
200216
TODO
201217
----
202218
* Use HTTP error codes on SimpleJSONRPCServer
203-
* Test, test, test and optimize
219+
* Test, test, test and optimize

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717

1818
distutils.core.setup(
1919
name = "jsonrpclib",
20-
version = "0.13",
20+
version = "0.1.3",
2121
packages = ["jsonrpclib"],
2222
author = "Josh Marshall",
2323
author_email = "[email protected]",
24-
url = "http://code.google.com/p/jsonrpclib/",
24+
url = "http://github.com/joshmarshall/jsonrpclib/",
2525
license = "http://www.apache.org/licenses/LICENSE-2.0",
2626
description = "This project is an implementation of the JSON-RPC v2.0 " +
2727
"specification (backwards-compatible) as a client library.",
28+
long_description = open("README.md").read()
2829
)

0 commit comments

Comments
 (0)