summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2011-02-06 14:13:21 +0800
committerBob Ippolito <bob@redivi.com>2011-02-06 14:13:21 +0800
commit131842a8af5a513d8020e70f8f7c571502c3f778 (patch)
treee5296a7f2cc647adab41dcc96f94ea07f556ef22
parent1eb3c0df7eb59d62e6236abb237d1d6581317ace (diff)
downloadsimplejson-131842a8af5a513d8020e70f8f7c571502c3f778.tar.gz
move long_description to README.rst
-rw-r--r--README.rst15
-rw-r--r--setup.py18
2 files changed, 16 insertions, 17 deletions
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 <http://json.org> 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 <http://json.org> 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,
"""