]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/install.rst
Raise copyright years
[pyderasn.git] / doc / install.rst
index 074a774b0d391629774d8690e8386440f245c4ea..057f47db616a2b1da39b69dc88edc0f9fa125cae 100644 (file)
@@ -2,27 +2,19 @@ Install
 =======
 
 Preferable way is to :ref:`download <download>` tarball with the
-signature from `official website <http://pyderasn.cypherpunks.ru/>`__::
+signature from `official website <http://www.pyderasn.cypherpunks.ru/>`__::
 
-    $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-6.0.tar.xz
-    $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-6.0.tar.xz.sig
-    $ gpg --verify pyderasn-6.0.tar.xz.sig pyderasn-6.0.tar.xz
-    $ xz --decompress --stdout pyderasn-6.0.tar.xz | tar xf -
-    $ cd pyderasn-6.0
+    $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.3.tar.zst
+    $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.3.tar.zst.asc
+    $ gpg --verify pyderasn-9.3.tar.zst.asc pyderasn-9.3.tar.zst
+    $ zstd -d < pyderasn-9.3.tar.zst | tar xf -
+    $ cd pyderasn-9.3
     $ 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.
-
-You could use pip (**no** OpenPGP authentication is performed!) with PyPI::
-
-    $ cat > requirements.txt <<EOF
-    pyderasn==6.0 --hash=sha256:TODO
-    six==1.14.0 --hash=sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a
-    EOF
-    $ pip install --requirement requirements.txt
+* ``termcolor`` is an optional dependency used for output colourizing.
+* ``urwid`` is an optional dependency used for :ref:`interactive browser <browser>`.
+* ``dateutil`` is an optional dependency used for ``.totzdatetime()`` method.
 
 You have to verify downloaded tarballs integrity and authenticity to be
 sure that you retrieved trusted and untampered software. `GNU Privacy
@@ -39,6 +31,6 @@ resources.
     uid   PyDERASN releases <pyderasn@cypherpunks.ru>
 
     $ gpg --auto-key-locate dane --locate-keys pyderasn at cypherpunks dot ru
-    $ gpg --auto-key-locate wkd --locate-keys pyderasn at cypherpunks dot ru
+    $ gpg --auto-key-locate  wkd --locate-keys pyderasn at cypherpunks dot ru
 
 .. literalinclude:: ../PUBKEY.asc