Skip to content

Commit 43e13ce

Browse files
committed
Added manual upgrade instructions
1 parent 6184de1 commit 43e13ce

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,28 @@ Installation using pip
4040
----------------------
4141
For easy installation, use `pip <http://www.pip-installer.org/>`_ as root::
4242

43+
.. code-block:: bash
44+
4345
$ [sudo] pip install DFO-LS
4446

4547
or alternatively *easy_install*::
4648

49+
.. code-block:: bash
50+
4751
$ [sudo] easy_install DFO-LS
4852

4953
If you do not have root privileges or you want to install DFO-LS for your private use, you can use::
5054

55+
.. code-block:: bash
56+
5157
$ pip install --user DFO-LS
5258

5359
which will install DFO-LS in your home directory.
5460

5561
Note that if an older install of DFO-LS is present on your system you can use::
5662

63+
.. code-block:: bash
64+
5765
$ [sudo] pip install --upgrade DFO-LS
5866

5967
to upgrade DFO-LS to the latest version.
@@ -81,6 +89,13 @@ If you do not have root privileges or you want to install DFO-LS for your privat
8189
8290
instead.
8391

92+
To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.e. the one containing :code:`setup.py`) and rerun the installation using :code:`pip`, as above:
93+
94+
.. code-block:: bash
95+
96+
$ git pull
97+
$ [sudo] pip install . # with admin privileges
98+
8499
Testing
85100
-------
86101
If you installed DFO-LS manually, you can test your installation by running:

docs/install.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,28 @@ Installation using pip
1717
----------------------
1818
For easy installation, use *pip* (http://www.pip-installer.org/) as root::
1919

20+
.. code-block:: bash
21+
2022
$ [sudo] pip install DFO-LS
2123

2224
or alternatively *easy_install*::
2325

26+
.. code-block:: bash
27+
2428
$ [sudo] easy_install DFO-LS
2529

2630
If you do not have root privileges or you want to install DFO-LS for your private use, you can use::
2731

32+
.. code-block:: bash
33+
2834
$ pip install --user DFO-LS
2935

3036
which will install DFO-LS in your home directory.
3137

3238
Note that if an older install of DFO-LS is present on your system you can use::
3339

40+
.. code-block:: bash
41+
3442
$ [sudo] pip install --upgrade DFO-LS
3543

3644
to upgrade DFO-LS to the latest version.
@@ -58,6 +66,13 @@ If you do not have root privileges or you want to install DFO-LS for your privat
5866
5967
instead.
6068

69+
To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.e. the one containing :code:`setup.py`) and rerun the installation using :code:`pip`, as above:
70+
71+
.. code-block:: bash
72+
73+
$ git pull
74+
$ [sudo] pip install . # with admin privileges
75+
6176
Testing
6277
-------
6378
If you installed DFO-LS manually, you can test your installation by running:

0 commit comments

Comments
 (0)