X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=doc%2Finstall.rst;h=057f47db616a2b1da39b69dc88edc0f9fa125cae;hp=08285de0e2a8c253bd949097b099bcc90d3b4640;hb=HEAD;hpb=664822cb0fc85360a5f77d93ed54714c42557c74 diff --git a/doc/install.rst b/doc/install.rst index 08285de..057f47d 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -2,23 +2,19 @@ Install ======= Preferable way is to :ref:`download ` tarball with the -signature from `official website `__:: +signature from `official website `__:: - % wget http://pyderasn.cypherpunks.ru/pyderasn-1.0.tar.xz - % wget http://pyderasn.cypherpunks.ru/pyderasn-1.0.tar.xz.sig - % gpg --verify pyderasn-1.0.tar.xz.sig pyderasn-1.0.tar.xz - % xz -d < pyderasn-1.0.tar.xz | tar xf - - % cd pyderasn-1.0 - % python setup.py install + $ [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 (possibly termcolor.py) to your PYTHONPATH -PyDERASN depends on `six `__ package -for keeping compatibility with Py27/Py35. If it is not installed on your -system, then ``setup.py install`` will try to download it from PyPI. You -can also find it mirrored on :ref:`download ` page. - -You could use PIP (**no** authentication is performed!):: - - % pip install pyderasn +* ``termcolor`` is an optional dependency used for output colourizing. +* ``urwid`` is an optional dependency used for :ref:`interactive 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 @@ -34,9 +30,7 @@ resources. 2ED6 C846 3051 02DF 5B4E 0383 04A9 33D1 BA20 327A uid PyDERASN releases - % gpg --keyserver hkp://keys.gnupg.net/ --recv-keys 0x04A933D1BA20327A - % 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 pka --locate-keys pyderasn at cypherpunks dot 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 .. literalinclude:: ../PUBKEY.asc