Scrapy, a fast high-level web crawling & scraping framework for Python.
removed no longer needed dependency on simplejson
Pablo Hoffman4f28ffcb2cc4
diff --git a/docs/intro/install.rst b/docs/intro/install.rstindex 4f6e30fec..4699ead90 100644--- a/docs/intro/install.rst+++ b/docs/intro/install.rst@@ -20,8 +20,6 @@ Requirements* `lxml`_ or `libxml2`_ (if using `libxml2`_, version 2.6.28 or above is highly recommended)-* `simplejson`_ (not required if using Python 2.6 or above)-* `pyopenssl <http://pyopenssl.sourceforge.net>`_ (for HTTPS support. Optional,but highly recommended)@@ -111,7 +109,7 @@ Debian or Ubuntu (9.04 or older)If you're running Debian Linux, run the following command as root::- apt-get install python-twisted python-lxmlxml python-pyopenssl python-simplejson+ apt-get install python-twisted python-lxmlxml python-pyopensslThen::@@ -124,7 +122,7 @@ Arch LinuxIf you are running Arch Linux, run the following command as root::- pacman -S twisted python-lxml pyopenssl python-simplejson+ pacman -S twisted python-lxml pyopensslThen::@@ -178,7 +176,6 @@ There are two ways to install Scrapy in Windows:.. _lxml: http://codespeak.net/lxml/.. _libxml2: http://xmlsoft.org.. _pywin32: http://sourceforge.net/projects/pywin32/-.. _simplejson: http://pypi.python.org/pypi/simplejson/.. _Zope.Interface: http://pypi.python.org/pypi/zope.interface#download.. _this Twisted bug: http://twistedmatrix.com/trac/ticket/3707.. _pip: http://pypi.python.org/pypi/pipdiff --git a/scrapy/utils/serialize.py b/scrapy/utils/serialize.pyindex 1c0e603c7..41ee88860 100644--- a/scrapy/utils/serialize.py+++ b/scrapy/utils/serialize.py@@ -12,7 +12,7 @@ from scrapy.http import Request, Responseclass SpiderReferencer(object):"""Class to serialize (and deserialize) objects (typically dicts)containing references to running spiders (ie. Spider objects). This is- required because simplejson fails to serialize dicts containing+ required because json library fails to serialize dicts containingnon-primitive types as keys, even when you overrideScrapyJSONEncoder.default() with a custom encoding mechanism."""diff --git a/setup.py b/setup.pyindex a085fa450..7e5349b3e 100644--- a/setup.py+++ b/setup.py@@ -121,7 +121,5 @@ except ImportError:from distutils.core import setupelse:setup_args['install_requires'] = ['Twisted>=8.0', 'w3lib>=1.1', 'lxml', 'pyOpenSSL']- if sys.version_info < (2, 6):- setup_args['install_requires'] += ['simplejson']setup(**setup_args)