From 7f438e42a844ca83e84ceef8a99387b4a9fdd063 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 10 Mar 2016 10:54:38 -0800 Subject: [PATCH] Collected Python dependencies in one list. --- rst/installation.rst | 69 +++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 46 deletions(-) diff --git a/rst/installation.rst b/rst/installation.rst index defb1c767..38a0b728f 100644 --- a/rst/installation.rst +++ b/rst/installation.rst @@ -45,56 +45,33 @@ that is not the case. * The `psmisc `_ utilities. -* `Python `_ 3.3.0 or newer. Make sure to also - install the development headers. - -* The `setuptools Python Module - `_, version 1.0 or newer. - To check if with version (if any) of this module is installed, try - to execute :: - - python3 -c 'import setuptools; print(setuptools.__version__)' - -* The `PyCrypto Python Module - `_. To check if this - module is installed, try to execute `python3 -c 'import Crypto'`. - -* The `Python defusedxml module - `_. To check if this - module is installed, try to execute `python3 -c 'import defusedxml'`. - -* If you want to use OAuth2 authentication with Google Storage, you - need the `Python requests module - `_. To check if this module - is installed, try to execute `python3 -c 'import requests'`. - -* If you want to use systemd_ integration, you need the `Python systemd - module `_. To check if - this module is installed, try to execute `python3 -c 'import systemd'`. - * `SQLite `_ version 3.7.0 or newer. SQLite has to be installed as a *shared library* with development headers. -* The `APSW Python Module `_. To check - which (if any) version of APWS is installed, run the command :: - - python3 -c 'import apsw; print(apsw.apswversion())' - - The printed version number should be at least 3.7.0. - -* The `Python LLFUSE module - `_. To check which (if any) - version of if this module is installed, execute `python3 -c 'import - llfuse; print(llfuse.__version__)'`. Any version between 1.0 - (inclusive) and 2.0 (exclusive) will do. - -* The `Python dugong module - `_. To check if this - module is installed, try to execute `python3 -c 'import dugong; - print(dugong.__version__)'`. This should print a version number. You - need at least version 3.4. +* `Python `_ 3.3.0 or newer. Make sure to also + install the development headers. -.. _systemd: http://www.freedesktop.org/wiki/Software/systemd/ +* The following Python modules: + + * `setuptools `_, version 1.0 or newer. + * `pycrypto `_ + * `defusedxml `_ + * `requests `_ (optional, + required for OAuth2 authentication with Google Storage) + * `systemd `_ (optional, + for enabling systemd support). + * `apsw `_, version 3.7.0 or + newer. + * `llfuse `_, any + version between 1.0 (inclusive) and 2.0 (exclusive) + * `dugong `_, any + version between 3.4 (inclusive) and 4.0 (exclusive) + + To check if a specific module :var:`` is installed, execute + :samp:`python3 -c 'import {}; + print({}.__version__)'`. This will result in an + `ImportError` if the module is not installed, and will print the + installed version if the module is installed. .. _inst-s3ql: