From charlesreid1

No edit summary
No edit summary
Line 3: Line 3:
==Prerequisites==
==Prerequisites==


You'll need libxml2 to use Scrapy.
You'll need libxml2 to use Scrapy. I installed libxml2 using Fink, which I then made accessible to my Python installation by adding it to my <code>$PYTHONPATH</code> variable in my <code>.profile</code> file:
 
<pre>
export PYTHONPATH="/fink/lib/python2.7/site-packages"
</pre>


==Build/Install==
==Build/Install==

Revision as of 12:40, 12 May 2012

Installation

Prerequisites

You'll need libxml2 to use Scrapy. I installed libxml2 using Fink, which I then made accessible to my Python installation by adding it to my $PYTHONPATH variable in my .profile file:

export PYTHONPATH="/fink/lib/python2.7/site-packages"

Build/Install

Scrapy can be installed by downloading the tarball, unzipping it, and doing the usual Python build/install steps:

$ python setup.py build

$ python setup.py install