]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/install.rst
Remove Py27 compatibility
[pyderasn.git] / doc / install.rst
index 8753d4e0fd10a93614cf26f915467185efc6ceda..286e64e62696aabefb1e4e8a15009d7aac75846b 100644 (file)
@@ -4,26 +4,20 @@ Install
 Preferable way is to :ref:`download <download>` tarball with the
 signature from `official website <http://www.pyderasn.cypherpunks.ru/>`__::
 
-    $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-8.4.tar.zst
-    $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-8.4.tar.zst.sig
-    $ gpg --verify pyderasn-8.4.tar.zst.sig pyderasn-8.4.tar.zst
-    $ zstd -d < pyderasn-8.4.tar.zst | tar xf -
-    $ cd pyderasn-8.4
+    $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.0.tar.zst
+    $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.0.tar.zst.sig
+    $ gpg --verify pyderasn-9.0.tar.zst.sig pyderasn-9.0.tar.zst
+    $ zstd -d < pyderasn-9.0.tar.zst | tar xf -
+    $ cd pyderasn-9.0
     $ python setup.py install
-    # or copy pyderasn.py (+six.py, possibly termcolor.py) to your PYTHONPATH
+    # or copy pyderasn.py (possibly termcolor.py) to your PYTHONPATH
 
-PyDERASN depends on `six <https://pypi.org/project/six/>`__ package
-for keeping compatibility with Py27/Py35. It is included in the tarball.
-You can also find it mirrored on :ref:`download <download>` page.
 ``termcolor`` is an optional dependency used for output colourizing.
 ``urwid`` is an optional dependency used for :ref:`interactive browser <browser>`.
 
 You could use pip (**no** OpenPGP authentication is performed!) with PyPI::
 
-    $ cat > requirements.txt <<EOF
-    pyderasn==8.4 --hash=sha256:TO-BE-FILLED
-    six==1.16.0 --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
-    EOF
+    $ echo pyderasn==9.0 --hash=sha256:TO-BE-FILLED > requirements.txt
     $ pip install --requirement requirements.txt
 
 You have to verify downloaded tarballs integrity and authenticity to be