Changeset 5503
- Timestamp:
- 06/20/07 01:23:15 (1 year ago)
- Files:
-
- django/trunk/docs/install.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/install.txt
r5495 r5503 86 86 ``site-packages``. 87 87 88 If you installed Django from a Python Egg, remove the Django ``.egg`` file,88 If you installed Django from a Python egg, remove the Django ``.egg`` file, 89 89 and remove the reference to the egg in the file named ``easy-install.pth``. 90 90 This file should also be located in your ``site-packages`` directory. … … 93 93 94 94 The location of the ``site-packages`` directory depends on the operating 95 system, and the location in which Python was installed. However, the96 following locations are common:95 system, and the location in which Python was installed. To find out your 96 system's ``site-packages`` location, execute the following:: 97 97 98 * If you're using Linux: ``/usr/lib/python2.X/site-packages``98 python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" 99 99 100 * If you're using Windows: ``C:\Python2.X\lib\site-packages`` 101 102 * If you're using MacOSX: ``/Library/Python2.X/site-packages`` or 103 ``/Library/Frameworks/Python.framework/Versions/2.X/lib/python2.X/site-packages/`` 104 (in later releases). 100 (Note that this should be run from a shell prompt, not a Python interactive 101 prompt.) 105 102 106 103 Install the Django code … … 141 138 1. Make sure you have Subversion_ installed. 142 139 2. Check out the Django code into your Python ``site-packages`` directory. 140 143 141 On Linux / Mac OSX / Unix, do this:: 144 142 145 143 svn co http://code.djangoproject.com/svn/django/trunk/ django_src 146 ln -s `pwd`/django_src/django /usr/lib/python2.3/site-packages/django144 ln -s `pwd`/django_src/django SITE-PACKAGES-DIR/django 147 145 148 (In the above line, change ``python2.3`` to match your current Python version.) 146 (In the above line, change ``SITE-PACKAGES-DIR`` to match the location of 147 your system's ``site-packages`` directory, as explained in the 148 "Where are my ``site-packages`` stored?" section above.) 149 149 150 150 On Windows, do this::
