summaryrefslogtreecommitdiff
path: root/INSTALL.rst
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2020-09-04 21:17:13 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2020-09-15 20:00:19 -0700
commit5f2445c1b5ff4db2dd0f943e006df1a107e8f00b (patch)
tree179c9d28d77dd5837793a329638be4a951ad2e17 /INSTALL.rst
parentdae8b01782ca4fada704d11a1d16c60663f8a90d (diff)
downloadnetworkx-5f2445c1b5ff4db2dd0f943e006df1a107e8f00b.tar.gz
Make optional dependencies default on CPython
Diffstat (limited to 'INSTALL.rst')
-rw-r--r--INSTALL.rst28
1 files changed, 9 insertions, 19 deletions
diff --git a/INSTALL.rst b/INSTALL.rst
index ed9e8c50..d5128675 100644
--- a/INSTALL.rst
+++ b/INSTALL.rst
@@ -65,28 +65,18 @@ Then, if you want to update ``networkx`` at any time, in the same directory do::
$ git pull
-Optional packages
------------------
+Extra packages
+--------------
.. note::
Some optional packages (e.g., `gdal`) may require compiling
C or C++ code. If you have difficulty installing these packages
- with `pip`, please review the instructions for installing
- the full `scientific Python stack <https://scipy.org/install.html>`_.
+ with `pip`, please consult the homepages of those packages.
-The following optional packages provide additional functionality. See the
+The following extra packages provide additional functionality. See the
files in the ``requirements/`` directory for information about specific
version requirements.
-- `NumPy <http://www.numpy.org/>`_ provides array-based dense
- matrix representations of graphs and high-performance array math and linear
- algebra which is used in some graph algorithms.
-- `SciPy <http://scipy.org/>`_ provides sparse matrix representation
- of graphs and many numerical scientific tools.
-- `pandas <http://pandas.pydata.org/>`_ provides a DataFrame, which
- is a tabular data structure with labeled axes.
-- `Matplotlib <http://matplotlib.org/>`_ provides flexible drawing of
- graphs.
- `PyGraphviz <http://pygraphviz.github.io/>`_ and
`pydot <https://github.com/erocarrera/pydot>`_ provide graph drawing
and graph layout algorithms via `GraphViz <http://graphviz.org/>`_.
@@ -94,17 +84,17 @@ version requirements.
- `gdal <http://www.gdal.org/>`_ provides shapefile format reading and writing.
- `lxml <http://lxml.de/>`_ used for GraphML XML format.
-To install ``networkx`` and all optional packages, do::
+To install ``networkx`` and extra packages, do::
- $ pip install networkx[all]
+ $ pip install networkx[extra]
To explicitly install all optional packages, do::
- $ pip install numpy scipy pandas matplotlib pygraphviz pydot pyyaml gdal
+ $ pip install pygraphviz pydot pyyaml gdal lxml
-Or, install any optional package (e.g., ``numpy``) individually::
+Or, install any optional package (e.g., ``pygraphviz``) individually::
- $ pip install numpy
+ $ pip install pygraphviz
Testing
-------