From 131842a8af5a513d8020e70f8f7c571502c3f778 Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sun, 6 Feb 2011 14:13:21 +0800 Subject: move long_description to README.rst --- README.rst | 15 +++++++++++++++ setup.py | 18 +----------------- 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..7dfcf77 --- /dev/null +++ b/README.rst @@ -0,0 +1,15 @@ +simplejson is a simple, fast, complete, correct and extensible +JSON encoder and decoder for Python 2.5+. It is +pure Python code with no dependencies, but includes an optional C +extension for a serious speed boost. + +simplejson is the externally maintained development version of the +json library included with Python 2.6 and Python 3.0, but maintains +backwards compatibility with Python 2.5. + +The encoder may be subclassed to provide serialization in any kind of +situation, without any special support by the objects to be serialized +(somewhat like pickle). + +The decoder can handle incoming JSON strings of any specified encoding +(UTF-8 by default). diff --git a/setup.py b/setup.py index b8f1d66..c61f5d2 100644 --- a/setup.py +++ b/setup.py @@ -14,23 +14,7 @@ from distutils.errors import CCompilerError, DistutilsExecError, \ VERSION = '2.1.4' DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python" -LONG_DESCRIPTION = """ -simplejson is a simple, fast, complete, correct and extensible -JSON encoder and decoder for Python 2.5+. It is -pure Python code with no dependencies, but includes an optional C -extension for a serious speed boost. - -simplejson is the externally maintained development version of the -json library included with Python 2.6 and Python 3.0, but maintains -backwards compatibility with Python 2.5. - -The encoder may be subclassed to provide serialization in any kind of -situation, without any special support by the objects to be serialized -(somewhat like pickle). - -The decoder can handle incoming JSON strings of any specified encoding -(UTF-8 by default). -""" +LONG_DESCRIPTION = open('README.rst', 'r').read() CLASSIFIERS = filter(None, map(str.strip, """ -- cgit v1.2.1