Bläddra i källkod

Added section to INSTALL about an alternative install method that avoids using an Internet connection

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Adrian Holovaty 18 år sedan
förälder
incheckning
e3bb401181
1 ändrade filer med 17 tillägg och 2 borttagningar
  1. 17 2
      INSTALL

+ 17 - 2
INSTALL

@@ -1,7 +1,22 @@
 Thanks for downloading Django.
 
-To install it, make sure you have Python 2.3 or greater installed. Then run this command:
+To install it, make sure you have Python 2.3 or greater installed. Then run
+this command from the command prompt:
 
-python setup.py install
+    python setup.py install
+
+Note this requires a working Internet connection if you don't already have the
+Python utility "setuptools" installed.
+
+AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's
+site-packages directory, which is located wherever your Python installation
+lives. Some places you might check are:
+
+    /usr/lib/python2.4/site-packages (Unix, Python 2.4)
+    /usr/lib/python2.3/site-packages (Unix, Python 2.3)
+    C:\\PYTHON\site-packages         (Windows)
+
+This second solution does not require a working Internet connection; it
+bypasses "setuptools" entirely.
 
 For more detailed instructions, see docs/install.txt.