X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Finstall.rst;h=b7f5ab88ae7d237c534c0c37e7457f31ab5591e8;hb=4910e3c9c30f82ca4fc8fb74d5ba3036d5046415;hp=bf632f5249e52da6030cb2ceabe6d86fa804b2f2;hpb=884aa5c5d286f6987b792b2dee5f0cbf9cb22aa1;p=pyderasn.git diff --git a/doc/install.rst b/doc/install.rst index bf632f5..b7f5ab8 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -2,23 +2,29 @@ Install ======= Preferable way is to :ref:`download ` tarball with the -signature from `official website `__:: - - % wget http://pyderasn.cypherpunks.ru/pyderasn-3.13.tar.xz - % wget http://pyderasn.cypherpunks.ru/pyderasn-3.13.tar.xz.sig - % gpg --verify pyderasn-3.13.tar.xz.sig pyderasn-3.13.tar.xz - % xz -d < pyderasn-3.13.tar.xz | tar xf - - % cd pyderasn-3.13 - % python setup.py install +signature from `official website `__:: + + $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-8.4.tar.xz + $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-8.4.tar.xz.sig + $ gpg --verify pyderasn-8.4.tar.xz.sig pyderasn-8.4.tar.xz + $ xz --decompress --stdout pyderasn-8.4.tar.xz | tar xf - + $ cd pyderasn-8.4 + $ python setup.py install # or copy pyderasn.py (+six.py, possibly termcolor.py) to your PYTHONPATH PyDERASN depends on `six `__ package for keeping compatibility with Py27/Py35. It is included in the tarball. You can also find it mirrored on :ref:`download ` page. +``termcolor`` is an optional dependency used for output colourizing. +``urwid`` is an optional dependency used for :ref:`interactive browser `. -You could use PIP (**no** authentication is performed!):: +You could use pip (**no** OpenPGP authentication is performed!) with PyPI:: - % pip install pyderasn + $ cat > requirements.txt < - % 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 dane --locate-keys pyderasn at cypherpunks dot ru + $ gpg --auto-key-locate wkd --locate-keys pyderasn at cypherpunks dot ru .. literalinclude:: ../PUBKEY.asc