mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-26 16:44:22 +00:00
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
This commit is contained in:
parent
1cc95dc129
commit
ddf0366037
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user