summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-12-09 00:10:10 -0500
committerGitHub <noreply@github.com>2020-12-08 23:10:10 -0600
commitff12a375521e5b702d9d58c8a04604c65496eb54 (patch)
tree39b230f00354c2b8fbd3eee9c5c343eda6ea41d1 /docs
parentd63473112119993bc5d556e0c37b03d5e5b560f0 (diff)
downloadcryptography-ff12a375521e5b702d9d58c8a04604c65496eb54.tar.gz
Remove Python2 from CI and code that branched on it (#5607)
* Remove Python2 from CI and code that branched on it * Update setup.py Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * remove * review feedback Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/development/getting-started.rst1
-rw-r--r--docs/installation.rst15
2 files changed, 5 insertions, 11 deletions
diff --git a/docs/development/getting-started.rst b/docs/development/getting-started.rst
index 1d939a9c3..e230fc30d 100644
--- a/docs/development/getting-started.rst
+++ b/docs/development/getting-started.rst
@@ -79,7 +79,6 @@ each supported Python version and run the tests. For example:
$ tox
...
- py27: commands succeeded
ERROR: pypy: InterpreterNotFound: pypy
py38: commands succeeded
docs: commands succeeded
diff --git a/docs/installation.rst b/docs/installation.rst
index ea4625582..9696f7d39 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -10,10 +10,9 @@ You can install ``cryptography`` with ``pip``:
Supported platforms
-------------------
-Currently we test ``cryptography`` on Python 2.7, 3.6+,
-PyPy 7.3.1, and PyPy3 7.3.1 on these operating systems.
+Currently we test ``cryptography`` on Python 3.6+ and PyPy3 7.3.1 on these
+operating systems.
-* x86-64 CentOS 7.x
* x86-64 & AArch64 CentOS 8.x
* x86-64 Fedora (latest)
* x86-64 macOS 10.15 Catalina
@@ -45,9 +44,9 @@ just run
If you prefer to compile it yourself you'll need to have OpenSSL installed.
You can compile OpenSSL yourself as well or use `a binary distribution`_.
Be sure to download the proper version for your architecture and Python
-(VC2010 works for Python 2.7 while VC2015 is required for 3.6 and above).
-Wherever you place your copy of OpenSSL you'll need to set the ``LIB`` and ``INCLUDE``
-environment variables to include the proper locations. For example:
+(VC2015 is required for 3.6 and above). Wherever you place your copy of OpenSSL
+you'll need to set the ``LIB`` and ``INCLUDE`` environment variables to include
+the proper locations. For example:
.. code-block:: console
@@ -87,8 +86,6 @@ available on your system.
Alpine
~~~~~~
-Replace ``python3-dev`` with ``python-dev`` if you're using Python 2.
-
.. code-block:: console
$ sudo apk add gcc musl-dev python3-dev libffi-dev openssl-dev
@@ -98,8 +95,6 @@ If you get an error with ``openssl-dev`` you may have to use ``libressl-dev``.
Debian/Ubuntu
~~~~~~~~~~~~~
-Replace ``python3-dev`` with ``python-dev`` if you're using Python 2.
-
.. code-block:: console
$ sudo apt-get install build-essential libssl-dev libffi-dev python3-dev