]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/install.rst
POSIX tells that $ character is default shell prompt
[pyderasn.git] / doc / install.rst
index 921766cdd79a0e2b02fd1e7ef8d795e833c04751..179c3035b4d6fb835ecc130d9d4b353502c24fcf 100644 (file)
@@ -4,13 +4,13 @@ Install
 Preferable way is to :ref:`download <download>` tarball with the
 signature from `official website <http://pyderasn.cypherpunks.ru/>`__::
 
-    % 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
+    $ 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
+    # or copy pyderasn.py (+six.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.
@@ -18,7 +18,7 @@ You can also find it mirrored on :ref:`download <download>` page.
 
 You could use PIP (**no** authentication is performed!)::
 
-    % pip install pyderasn
+    $ pip install pyderasn
 
 You have to verify downloaded tarballs integrity and authenticity to be
 sure that you retrieved trusted and untampered software. `GNU Privacy
@@ -34,9 +34,7 @@ resources.
           2ED6 C846 3051 02DF 5B4E  0383 04A9 33D1 BA20 327A
     uid   PyDERASN releases <pyderasn@cypherpunks.ru>
 
-    % 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