From ddf0366037ae05e224c229a2cad5af3cdf1b3b33 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Mon, 19 Jan 2009 13:51:16 +0000 Subject: [PATCH] removed $ from commands in install it doesn't look so nice but it copy/paste compatible --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40752 --- scrapy/trunk/docs/intro/install.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scrapy/trunk/docs/intro/install.rst b/scrapy/trunk/docs/intro/install.rst index 6a48e0d4e..d1c64ad56 100644 --- a/scrapy/trunk/docs/intro/install.rst +++ b/scrapy/trunk/docs/intro/install.rst @@ -34,14 +34,14 @@ Ubuntu/Debian If you're running Ubuntu/Debian Linux run the following command as root:: - $ apt-get install python-twisted python-libxml2 python-pyopenssl + apt-get install python-twisted python-libxml2 python-pyopenssl Arch Linux ---------- If you are running Arch Linux use the following command to install required dependencies:: - $ pacman -S twisted libxml2 pyopenssl + pacman -S twisted libxml2 pyopenssl Windows ------- @@ -67,7 +67,7 @@ To do this, follow this steps: Check out Scrapy code (you will need to have Subversion_ installed):: - $ svn co http://svn.scrapy.org/scrapy/trunk/ scrapy-trunk + svn co http://svn.scrapy.org/scrapy/trunk/ scrapy-trunk 2. Add Scrapy to your Python path --------------------------------- @@ -75,17 +75,17 @@ Check out Scrapy code (you will need to have Subversion_ installed):: You can do this by making a symbolic link to your system ``site-packages`` directory like this:: - $ ln -s `pwd`/scrapy-trunk/scrapy SITE-PACKAGES/scrapy + 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:: - $ python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" + 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:: - $ export PYTHONPATH=`pwd`/scrapy-trunk:$PYTHONPATH + export PYTHONPATH=`pwd`/scrapy-trunk:$PYTHONPATH 3. Make the scrapy-admin.py script executable --------------------------------------------- @@ -94,5 +94,5 @@ 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:: - $ ln -s `pwd`/scrapy-trunk/scrapy/bin/scrapy-admin.py /usr/local/bin + ln -s `pwd`/scrapy-trunk/scrapy/bin/scrapy-admin.py /usr/local/bin