Unfortunately, I don't have a Mac and can't test the installation steps, but it
would be great if anyone using Scrapy on Mac can shed a light on this, and what
you think would be the easier and more reliable way for installing Scrapy on
Mac.
Pablo.
> --
> You received this message because you are subscribed to the Google Groups "scrapy-users" group.
> To post to this group, send email to scrapy...@googlegroups.com.
> To unsubscribe from this group, send email to scrapy-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/scrapy-users?hl=en.
Thanks Owen, this really helps.
A couple of suggestions about your guide:
On point 7, you mention installing simplejson port (py26-simplejson). Scrapy
doesn't need simplejson when running on Python 2.6, as it will use the standard
library "json" module instead. So I think you can remove py26-simplejson as a
minor simplification.
On point 11 and point 12, you're referring to scrapy-ctl.py which is the old
script used to control scrapy in versions prior to 0.10. Now the script is just
called "scrapy". Also, it's not clear to me why point 11 is needed. For Scrapy
0.10 and above, I think point 11 and 12 could be merged into one single point,
as follows:
* Make the scrapy command available in the shell
$ sudo ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/scrapy-ctl.py /usr/local/bin/scrapy
The rest of the guide looks good, do you mind if I update the Scrapy
installation guide based on yours?
Btw, I managed to get a Mac OS X running on a VirtualBox, to test your
instructions, but I don't have an Apple Developer ID for getting XCode, which
is required. I think it'd be great if we could package Scrapy in a dmg/pkg Mac
installer, but I'm not sure how much work would that involve. After researching
a bit I got to this Twisted ticket that mentions using a tool called Platypus:
http://twistedmatrix.com/trac/ticket/3279
Any thoughts?
Pablo.
Correct.
> Xcode requires a free registration
> http://developer.apple.com/programs/register/
> and is required to install macports. It is >900M so I don't think
> packaging the whole thing is an option. Maybe a Macport of scrapy
> would be useful?
> http://www.macports.org/install.php
Thanks, I'm already downloading it.
> Yes, please feel free to use these instructions in the guide.
Thanks, I'll update the Mac OS X install instructions next weekend.
Pablo.