From 8271a21c3eda83f425f9cc5ec26c825c25771af7 Mon Sep 17 00:00:00 2001 From: Richard Mitchell Date: Mon, 28 Apr 2014 18:50:37 +0100 Subject: Clearer wording on Linux installation dependencies. One doesn't just require them if the build fails with a specific error. LP:1270996. --- README | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README b/README index bd3a194..71f50e6 100644 --- a/README +++ b/README @@ -70,13 +70,12 @@ The modules are packaged using the Distutils, so you can simply run "python setup.py build" to build the package, and "python setup.py install" to install it. -If the setup.py script crashes with a DistutilsPlatformError -complaining that the file /usr/lib/python2.2/config/Makefile doesn't -exist, this means that the files needed for compiling new Python -modules aren't installed on your system. Red Hat users often run into -this because they don't have the python2-devel RPM installed. The fix -is to simply install the requisite RPM. On Debian/Ubuntu, you need the -python-dev package. +Linux installation requires the Python developer tools to be installed. These +can be found in the ``python-dev`` package on Debian/Ubuntu and the +``python2-devel`` package on Red Hat/Fedora. If you are using a non-standard +Python version for your distribution, you may require a different package. +Consult your package manager's documentation for instructions on how to +install these packages. Other distributions may have different package names. To verify that everything is in order, run "python setup.py test". It will test all the cryptographic modules, skipping ones that aren't -- cgit v1.2.1