You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,20 +42,28 @@ Installation using pip
42
42
----------------------
43
43
For easy installation, use `pip <http://www.pip-installer.org/>`_ as root::
44
44
45
+
.. code-block:: bash
46
+
45
47
$ [sudo] pip install Py-BOBYQA
46
48
47
49
or alternatively *easy_install*::
48
50
51
+
.. code-block:: bash
52
+
49
53
$ [sudo] easy_install Py-BOBYQA
50
54
51
55
If you do not have root privileges or you want to install Py-BOBYQA for your private use, you can use::
52
56
57
+
.. code-block:: bash
58
+
53
59
$ pip install --user Py-BOBYQA
54
60
55
61
which will install Py-BOBYQA in your home directory.
56
62
57
63
Note that if an older install of Py-BOBYQA is present on your system you can use::
58
64
65
+
.. code-block:: bash
66
+
59
67
$ [sudo] pip install --upgrade Py-BOBYQA
60
68
61
69
to upgrade Py-BOBYQA to the latest version.
@@ -83,6 +91,13 @@ If you do not have root privileges or you want to install Py-BOBYQA for your pri
83
91
84
92
instead.
85
93
94
+
To upgrade Py-BOBYQA 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:
95
+
96
+
.. code-block:: bash
97
+
98
+
$ git pull
99
+
$ [sudo] pip install .# with admin privileges
100
+
86
101
Testing
87
102
-------
88
103
If you installed Py-BOBYQA manually, you can test your installation by running:
Copy file name to clipboardExpand all lines: docs/install.rst
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,14 @@ If you do not have root privileges or you want to install Py-BOBYQA for your pri
59
59
60
60
$ pip install --user .
61
61
62
-
instead.
62
+
instead.
63
+
64
+
To upgrade Py-BOBYQA 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:
0 commit comments