mirror of https://github.com/scrapy/scrapy.git
removed no longer needed dependency on simplejson
This commit is contained in:
parent
6e8edbd72e
commit
4f28ffcb2c
|
|
@ -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-pyopenssl
|
||||
|
||||
Then::
|
||||
|
||||
|
|
@ -124,7 +122,7 @@ Arch Linux
|
|||
|
||||
If you are running Arch Linux, run the following command as root::
|
||||
|
||||
pacman -S twisted python-lxml pyopenssl python-simplejson
|
||||
pacman -S twisted python-lxml pyopenssl
|
||||
|
||||
Then::
|
||||
|
||||
|
|
@ -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/pip
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ from scrapy.http import Request, Response
|
|||
class 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 containing
|
||||
non-primitive types as keys, even when you override
|
||||
ScrapyJSONEncoder.default() with a custom encoding mechanism.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue