diff --git docs/internals/contributing/writing-documentation.txt docs/internals/contributing/writing-documentation.txt
index 2d08dba..f818392 100644
|
|
__ http://sphinx.pocoo.org/
|
29 | 29 | __ http://docutils.sourceforge.net/ |
30 | 30 | |
31 | 31 | To actually build the documentation locally, you'll currently need to install |
32 | | Sphinx -- ``easy_install Sphinx`` should do the trick. |
| 32 | Sphinx -- ``pip install Sphinx`` should do the trick. |
33 | 33 | |
34 | 34 | .. note:: |
35 | 35 | |
diff --git docs/intro/whatsnext.txt docs/intro/whatsnext.txt
index fed8a71..d02fed8 100644
|
|
You can get a local copy of the HTML documentation following a few easy steps:
|
166 | 166 | |
167 | 167 | * Django's documentation uses a system called Sphinx__ to convert from |
168 | 168 | plain text to HTML. You'll need to install Sphinx by either downloading |
169 | | and installing the package from the Sphinx Web site, or by Python's |
170 | | ``easy_install``: |
| 169 | and installing the package from the Sphinx Web site, or by using |
| 170 | ``pip``: |
171 | 171 | |
172 | 172 | .. code-block:: bash |
173 | 173 | |
174 | | $ easy_install Sphinx |
| 174 | $ pip install Sphinx |
175 | 175 | |
176 | 176 | * Then, just use the included ``Makefile`` to turn the documentation into |
177 | 177 | HTML: |
diff --git docs/ref/contrib/gis/install.txt docs/ref/contrib/gis/install.txt
index 0a5cbc5..bd7deec 100644
|
|
psycopg2
|
806 | 806 | After you've installed the KyngChaos binaries and modified your ``PATH``, as |
807 | 807 | described above, ``psycopg2`` may be installed using the following command:: |
808 | 808 | |
809 | | $ sudo python easy_install psycopg2 |
| 809 | $ sudo pip install psycopg2 |
810 | 810 | |
811 | 811 | .. note:: |
812 | 812 | |
813 | | To use ``easy_install`` you'll need to install Python's `setuptools`_. |
| 813 | To use ``pip`` you'll need to install Python's `pip`_. |
814 | 814 | |
815 | | .. _setuptools: http://pypi.python.org/pypi/setuptools |
| 815 | .. _pip: http://www.pip-installer.org/en/latest/installing.html#alternative-installation-procedures |
816 | 816 | |
817 | 817 | .. _pysqlite2_kyngchaos: |
818 | 818 | |
… |
… |
Ubuntu 10.04 uses PostGIS 1.4, while Ubuntu 10.10 uses PostGIS 1.5 (with
|
926 | 926 | geography support). The installation commands are:: |
927 | 927 | |
928 | 928 | $ sudo apt-get install binutils gdal-bin libproj-dev postgresql-8.4-postgis \ |
929 | | postgresql-server-dev-8.4 python-psycopg2 python-setuptools |
930 | | $ sudo easy_install Django |
| 929 | postgresql-server-dev-8.4 python-psycopg2 python-pip |
| 930 | $ sudo pip install Django |
931 | 931 | |
932 | 932 | .. _ibex: |
933 | 933 | |
… |
… |
geography support). The installation commands are::
|
937 | 937 | Use the synaptic package manager to install the following packages:: |
938 | 938 | |
939 | 939 | $ sudo apt-get install binutils gdal-bin postgresql-8.3-postgis \ |
940 | | postgresql-server-dev-8.3 python-psycopg2 python-setuptools |
| 940 | postgresql-server-dev-8.3 python-psycopg2 python-pip |
941 | 941 | |
942 | | Afterwards, you may install Django with Python's ``easy_install`` script (the |
| 942 | Afterwards, you may install Django with Python's ``pip`` installer (the |
943 | 943 | Ubuntu package ``python-django`` uses an older version missing several |
944 | 944 | important bug fixes for GeoDjango):: |
945 | 945 | |
946 | | $ sudo easy_install Django |
| 946 | $ sudo pip install Django |
947 | 947 | |
948 | 948 | That's it! For the curious, the required binary prerequisites packages are: |
949 | 949 | |
… |
… |
That's it! For the curious, the required binary prerequisites packages are:
|
955 | 955 | * ``libgdal1-1.5.0``: for GDAL 1.5.0 library |
956 | 956 | * ``proj``: for PROJ 4.6.0 -- but no datum shifting files, see note below |
957 | 957 | * ``python-psycopg2`` |
958 | | * ``python-setuptools``: for ``easy_install`` |
| 958 | * ``python-pip`` |
959 | 959 | |
960 | 960 | Optional packages to consider: |
961 | 961 | |
… |
… |
Binary Packages
|
1012 | 1012 | The following command will install acceptable binary packages, as well as |
1013 | 1013 | the development tools necessary to build the rest of the requirements:: |
1014 | 1014 | |
1015 | | $ sudo apt-get install binutils bzip2 gcc g++ flex make postgresql-8.1 postgresql-server-dev-8.1 python-ctypes python-psycopg2 python-setuptools |
| 1015 | $ sudo apt-get install binutils bzip2 gcc g++ flex make postgresql-8.1 |
| 1016 | postgresql-server-dev-8.1 python-ctypes python-psycopg2 python-pip |
1016 | 1017 | |
1017 | 1018 | Required package information: |
1018 | 1019 | |
… |
… |
Required package information:
|
1023 | 1024 | * ``postgresql-8.1`` |
1024 | 1025 | * ``postgresql-server-dev-8.1``: for ``pg_config`` |
1025 | 1026 | * ``python-psycopg2`` |
1026 | | * ``python-setuptools``: for ``easy_install`` |
| 1027 | * ``python-pip`` |
1027 | 1028 | |
1028 | 1029 | Optional packages: |
1029 | 1030 | |
… |
… |
directions carefully.
|
1043 | 1044 | This version is comparable to Ubuntu :ref:`ibex`, so the command |
1044 | 1045 | is very similar:: |
1045 | 1046 | |
1046 | | $ sudo apt-get install binutils libgdal1-1.5.0 postgresql-8.3 postgresql-8.3-postgis postgresql-server-dev-8.3 python-psycopg2 python-setuptools |
| 1047 | $ sudo apt-get install binutils libgdal1-1.5.0 postgresql-8.3 |
| 1048 | postgresql-8.3-postgis postgresql-server-dev-8.3 python-psycopg2 python-pip |
1047 | 1049 | |
1048 | 1050 | This assumes that you are using PostgreSQL version 8.3. Else, replace ``8.3`` |
1049 | 1051 | in the above command with the appropriate PostgreSQL version. |
diff --git docs/topics/install.txt docs/topics/install.txt
index 70b0783..aff338a 100644
|
|
Installing an official release
|
215 | 215 | These commands will install Django in your Python installation's |
216 | 216 | ``site-packages`` directory. |
217 | 217 | |
| 218 | Alternatively, if you have pip_ installed then you can choose to skip |
| 219 | the steps above and simply run the command ``sudo pip install Django``. |
| 220 | |
218 | 221 | .. _bsdtar: http://gnuwin32.sourceforge.net/packages/bsdtar.htm |
219 | 222 | .. _7-zip: http://www.7-zip.org/ |
| 223 | .. _pip: http://www.pip-installer.org/en/latest/installing.html#alternative-installation-procedures |
220 | 224 | |
221 | 225 | .. _installing-development-version: |
222 | 226 | |