X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Finstall.rst;h=d4e0abe51382731d63b0828d4616f1e4b6005260;hb=17e573524f4d7b3775c2cb39c8ba5f798e1fe9d1;hp=e6f6ba10bc7b783d15650a783e34358bbb2a9cfa;hpb=3bdec8f765e0fa8ed27162a8c0abe391a44dc664;p=pyderasn.git diff --git a/doc/install.rst b/doc/install.rst index e6f6ba1..d4e0abe 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -4,21 +4,25 @@ Install Preferable way is to :ref:`download ` tarball with the signature from `official website `__:: - % wget http://pyderasn.cypherpunks.ru/pyderasn-3.0.tar.xz - % wget http://pyderasn.cypherpunks.ru/pyderasn-3.0.tar.xz.sig - % gpg --verify pyderasn-3.0.tar.xz.sig pyderasn-3.0.tar.xz - % xz -d < pyderasn-3.0.tar.xz | tar xf - - % cd pyderasn-3.0 - % python setup.py install - # or copy pyderasn.py (+six.py) to your PYTHONPATH - -PyDERASN depends on `six `__ package + $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-7.4.tar.xz + $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-7.4.tar.xz.sig + $ gpg --verify pyderasn-7.4.tar.xz.sig pyderasn-7.4.tar.xz + $ xz --decompress --stdout pyderasn-7.4.tar.xz | tar xf - + $ cd pyderasn-7.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. -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 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