diff --git a/sites/scrapy.org/docs/sources/intro/install.rst b/sites/scrapy.org/docs/sources/intro/install.rst index 2e95a8de9..d0df14df2 100644 --- a/sites/scrapy.org/docs/sources/intro/install.rst +++ b/sites/scrapy.org/docs/sources/intro/install.rst @@ -1,6 +1,5 @@ .. _install: -===================== How to install Scrapy ===================== @@ -43,4 +42,40 @@ Or in Arch Linux do: Install Scrapy code =================== +We're working hard to get the first release of Scrapy out. In the meantime, please download the latest development version from the Subversion_ repository. +To do this, follow this steps: + +1. Check out Scrapy code (you will need to have Subversion_ installed): + + .. code-block:: bash + + svn co http://svn.scrapy.org/scrapy/trunk/ scrapy-trunk + +2. Add Scrapy to your Python path. You can do this by making a symbolic link to your system ``site-packages`` directory like this: + + .. code-block:: bash + + ln -s `pwd`/scrapy-trunk/scrapy SITE-PACKAGES/scrapy + + Where ``SITE-PACKAGES`` is the location of your system ``site-packages`` directory, to find this out execute the following: + + .. code-block:: bash + + python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" + + + Or by adding the ``scrapy-trunk`` directory to your ``PYTHONPATH`` environment variable, like this: + + .. code-block:: bash + + export PYTHONPATH=`pwd`/scrapy-trunk:PYTHONPATH + + +3. Make the ``scrapy-trunk/scrapy/bin/scrapy-admin.py`` script executable system-wide. To do this create a symbolic link to the file in a directory on your sistem path, like: + + .. code-block:: bash + + ln -s `pwd`/scrapy-trunk/scrapy/bin/scrapy-admin.py /usr/local/bin + +.. _Subversion: http://subversion.tigris.org/