include .coveragerc
include AUTHORS
-include COPYING*
+include COPYING
+include COPYING.LESSER
+include doc/conf.py
+include doc/download.rst
+include doc/examples.rst
+include doc/features.rst
+include doc/feedback.rst
+include doc/index.rst
+include doc/install.rst
+include doc/Makefile
+include doc/pip-requirements.txt
+include doc/reference.rst
include INSTALL
include nose.cfg
-include pip-requirements*
+include pip-requirements-tests.txt
+include pip-requirements.txt
include PUBKEY.asc
include pyderasn.pyi
include README
+include tests/__init__.py
+include tests/test_crts.py
+include tests/test_pyderasn.py
include THANKS
include VERSION
Download
========
-.. list-table::
- :widths: 10 10 20 60
- :header-rows: 1
-
- * - Package
- - Size
- - Tarball
- - SHA256 checksum
- * - ``attrs`` 17.2.0
- - 59 KiB
- - `link <download/attrs-17.2.0.tar.xz>`__
- `sign <download/attrs-17.2.0.tar.xz.sig>`__
- - ``612F3F53 90F2D0C7 FCA6A32A B5B1E750 5BC56C00 1D68B28F 56B7446D 6970DC0A``
- * - ``coverage`` 4.4.1
- - 287 KiB
- - `link <coverage-4.4.1.tar.xz>`__
- `sign <coverage-4.4.1.tar.xz.sig>`__
- - ``DF312773 C59A0CB5 1EB793F5 BA14A1D5 54D467D6 C46375F1 8E066DAA B8A86271``
- * - ``enum34`` 1.1.6
- - 31 KiB
- - `link <enum34-1.1.6.tar.xz>`__
- `sign <enum34-1.1.6.tar.xz.sig>`__
- - ``CC26B270 E58910E6 B54ACEE9 EC36C388 4C9BE18B 7A55FA46 305D4BA9 18D00177``
- * - ``hypothesis`` 3.30.4
- - 102 KiB
- - `link <hypothesis-3.30.4.tar.xz>`__
- `sign <hypothesis-3.30.4.tar.xz.sig>`__
- - ``A6281672 88FDCC15 EA806C45 9EBEF827 8D2A8BAD 01DB7C61 BD45D14A 905F53D6``
- * - ``six`` 1.11.0
- - 25 KiB
- - `link <six-1.11.0.tar.xz>`__
- `sign <six-1.11.0.tar.xz.sig>`__
- - ``890AC076 5EF9AEFA 5079CEBA ADE9C680 DBFB0E84 E7CFA1F9 9B9B43A8 5FA80126``
-
-Development Git source code repository is located here:
-https://git.cypherpunks.ru/cgit.cgi/pyderasn.git/.
+You can obtain releases source code prepared tarballs on
+`official website <http://pyderasn.cypherpunks.ru/>`__.
% python setup.py install
PyDERASN depends on `six <https://pypi.python.org/pypi/six>`__ package
-for keeping compatibility with Py27/Py35. If it is not installed on your
-system, then ``setup.py install`` will try to download it from PyPI. You
-can also find it mirrored on :ref:`download <download>` page.
+for keeping compatibility with Py27/Py35. It is included in the tarball.
+You can also find it mirrored on :ref:`download <download>` page.
You could use PIP (**no** authentication is performed!)::
--- /dev/null
+#!/bin/sh -ex
+
+cur=$(pwd)
+tmp=$(mktemp -d)
+release=$1
+[ -n "$release" ]
+
+mkdir $tmp/pyderasn-"$release"
+cut -d' ' -f2 < MANIFEST.in > $tmp/includes
+echo pyderasn.py >> $tmp/includes
+echo setup.py >> $tmp/includes
+tar cfI - $tmp/includes | tar xfC - $tmp/pyderasn-"$release"
+
+PYTHONPATH="$tmp/pyderasn-$release" make -C $tmp/pyderasn-"$release"/doc
+
+tar xvfC doc/download/six-*.tar.xz $tmp --include '*/six.py'
+mv -v $tmp/six-*/six.py $tmp/pyderasn-"$release"
+
+cd $tmp
+tar cvf pyderasn-"$release".tar pyderasn-"$release"
+xz -9v pyderasn-"$release".tar
+gpg --detach-sign --sign --local-user 04A933D1BA20327A pyderasn-"$release".tar.xz
+
+tarball=pyderasn-"$release".tar.xz
+size=$(( $(wc -c < $tarball) / 1024 ))
+hash=$(gpg --print-md SHA256 < $tarball)
+
+cat <<EOF
+An entry for documentation:
+ * - \`\`pyderasn\`\` $release
+ - $size KiB
+ - \`link <download/pyderasn-${release}.tar.xz>\`__
+ \`sign <download/pyderasn-${release}.tar.xz.sig>\`__
+ - \`\`$hash\`\`
+EOF
+
+mv $tmp/$tarball $tmp/"$tarball".sig $cur/doc/download