Preferable way is to :ref:`download <download>` tarball with the
signature from `official website <http://pyderasn.cypherpunks.ru/>`__::
- $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-5.4.tar.xz
- $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-5.4.tar.xz.sig
- $ gpg --verify pyderasn-5.4.tar.xz.sig pyderasn-5.4.tar.xz
- $ xz --decompress --stdout pyderasn-5.4.tar.xz | tar xf -
- $ cd pyderasn-5.4
+ $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-5.5.tar.xz
+ $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-5.5.tar.xz.sig
+ $ gpg --verify pyderasn-5.5.tar.xz.sig pyderasn-5.5.tar.xz
+ $ xz --decompress --stdout pyderasn-5.5.tar.xz | tar xf -
+ $ cd pyderasn-5.5
$ python setup.py install
# or copy pyderasn.py (+six.py, possibly termcolor.py) to your PYTHONPATH
You could use pip (**no** OpenPGP authentication is performed!) with PyPI::
$ cat > requirements.txt <<EOF
- pyderasn==5.4 --hash=sha256:c6b4cfbe3b4bfb3bed1c5b8fc8e5d4cc78fd2abc10a7c1360336471d9a2b4372
+ pyderasn==5.5 --hash=sha256:TODO
six==1.13.0 --hash=sha256:30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66
EOF
$ pip install --requirement requirements.txt
PYTHONPATH="$tmp/pyderasn-$release" make -C $tmp/pyderasn-"$release"/doc
-tar xvfC doc/download/six-1.13.0.tar.xz $tmp --include "*/*six.py"
+tar xvfC doc/download/six-1.13.0.tar.gz $tmp --include "*/*six.py"
mv -v $tmp/six-*/*six.py $tmp/pyderasn-"$release"
-tar xvfC doc/download/termcolor-1.1.0.tar.xz $tmp --include "*/termcolor.py"
+tar xvfC doc/download/termcolor-1.1.0.tar.gz $tmp --include "*/termcolor.py"
mv -v $tmp/termcolor-*/termcolor.py $tmp/pyderasn-"$release"
pip_hash=$(pip hash dist/pyderasn-"$release".tar.gz | sed -n '$p')