X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=doc%2Finstall.rst;h=c05ee24b6ec035d032644cb333211b57c1dfc191;hp=179c3035b4d6fb835ecc130d9d4b353502c24fcf;hb=43726ca738a6ba3f16ae484d8fa4f1a6b89cbaf1;hpb=276256c09380abd90ef7977bfa46d2dfc810810d diff --git a/doc/install.rst b/doc/install.rst index 179c303..c05ee24 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -2,23 +2,24 @@ Install ======= Preferable way is to :ref:`download ` tarball with the -signature from `official website `__:: +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 + $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.1.tar.zst + $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.1.tar.zst.sig + $ gpg --verify pyderasn-9.1.tar.zst.sig pyderasn-9.1.tar.zst + $ zstd -d < pyderasn-9.1.tar.zst | tar xf - + $ cd pyderasn-9.1 $ 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 `__ 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 `. +* ``dateutil`` is an optional dependency used for ``.totzdatetime()`` method. -You could use PIP (**no** authentication is performed!):: +You could use pip (**no** OpenPGP authentication is performed!) with PyPI:: - $ pip install pyderasn + $ echo pyderasn==9.1 --hash=sha256:TO-BE-FILLED > requirements.txt + $ pip install --requirement requirements.txt You have to verify downloaded tarballs integrity and authenticity to be sure that you retrieved trusted and untampered software. `GNU Privacy