summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Mitchell <richard.j.mitchell@gmail.com>2014-04-28 18:50:37 +0100
committerDwayne Litzenberger <dlitz@dlitz.net>2014-06-22 17:26:54 -0700
commit8271a21c3eda83f425f9cc5ec26c825c25771af7 (patch)
treed080d85fd9f45fd035a7ce303f60705e7830808a
parent2549c4dc2d47309a7635b85341e8450ce3eab9c6 (diff)
downloadpycrypto-8271a21c3eda83f425f9cc5ec26c825c25771af7.tar.gz
Clearer wording on Linux installation dependencies. One doesn't just require them if the build fails with a specific error. LP:1270996.
-rw-r--r--README13
1 files 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