Django

Code

Changeset 3907

Show
Ignore:
Timestamp:
10/16/06 17:38:18 (2 years ago)
Author:
adrian
Message:

Updated docs/install.txt to note lack of setuptools in development version

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/install.txt

    r3483 r3907  
    8585Note that the last command will automatically download and install setuptools_ 
    8686if you don't already have it installed. This requires a working Internet 
     87connection and may cause problems on Python 2.5. If you run into problems, 
     88try using our development version by following the instructions below. The 
     89development version no longer uses setuptools nor requires an Internet 
    8790connection. 
    8891 
    89 This will install Django in your Python installation's ``site-packages`` 
     92The command will install Django in your Python installation's ``site-packages`` 
    9093directory. 
    9194 
     
    9598~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    9699 
     100If you'd like to be able to update your Django code occasionally with the 
     101latest bug fixes and improvements, follow these instructions: 
     102 
    971031. Make sure you have Subversion_ installed. 
    98 2. ``svn co http://code.djangoproject.com/svn/django/trunk/ django_src`` 
    99 3. Symlink ``django_src/django`` so that ``django`` is within your Python 
    100    ``site-packages`` directory: 
     1042. Check out the Django code into your Python ``site-packages`` directory. 
     105   On Linux / Mac OSX / Unix, do this:: 
    101106 
    102    ``ln -s `pwd`/django_src/django /usr/lib/python2.3/site-packages/django`` 
     107       svn co http://code.djangoproject.com/svn/django/trunk/ django_src 
     108       ln -s `pwd`/django_src/django /usr/lib/python2.3/site-packages/django 
    103109 
    104110   (In the above line, change ``python2.3`` to match your current Python version.) 
    105111 
    106 You don't have to run ``python setup.py install``. 
     112   On Windows, do this:: 
    107113 
    108 When you want to update your code, just run the command ``svn update`` from 
    109 within the ``django_src`` directory. 
     114       svn co http://code.djangoproject.com/svn/django/trunk/django c:\Python24\lib\site-packages\django 
     115 
     1164. Copy the file ``django_src/django/bin/django-admin.py`` to somewhere on your 
     117   system path, such as ``/usr/local/bin`` (Unix) or ``C:\Python24\Scripts`` 
     118   (Windows). This step simply lets you type ``django-admin.py`` from within 
     119   any directory, rather than having to qualify the command with the full path 
     120   to the file. 
     121 
     122You *don't* have to run ``python setup.py install``, because that command 
     123takes care of steps 3 and 4 for you. 
     124 
     125When you want to update your copy of the Django source code, just run the 
     126command ``svn update`` from within the ``django`` directory. When you do this, 
     127Subversion will automatically download any changes. 
    110128 
    111129.. _`download page`: http://www.djangoproject.com/download/