From eafa05a0d0a693b05aee5631191ff22af3e30d84 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 25 Apr 2014 11:55:24 +0200 Subject: [PATCH] use the README file for the long description of the package --- README | 21 +++++++++++++++++++++ README.txt | 11 ----------- setup.py | 3 +-- 3 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 README delete mode 100644 README.txt diff --git a/README b/README new file mode 100644 index 0000000..2f179a3 --- /dev/null +++ b/README @@ -0,0 +1,21 @@ +rfc3161 +======= + +A simple client library for cryptographic timestamping service implementing the +protocol from RFC3161. + + >>> import rfc3161 + >>> certificate = file('data/certum_certificate.crt').read() + >>> rt = rfc3161.RemoteTimestamper('http://time.certum.pl', certificate=certificate) + >>> rt.timestamp(data='John Doe') + ('...', '') + >>> rt.check(tst, data='John Doe') + (True, '') + >>> rfc3161.get_timestamp(tst) + datetime.datetime(2014, 4, 25, 9, 34, 16) + +Authors +======= + +Benjamin Dauvergne +Michael Gebetsroither diff --git a/README.txt b/README.txt deleted file mode 100644 index 0da8496..0000000 --- a/README.txt +++ /dev/null @@ -1,11 +0,0 @@ -rfc3161 -======= - -A simple client library for cryptographic timestamping service implement the -protocol from RFC3161. - -Authors -======= - -Benjamin Dauvergne -Michael Gebetsroither diff --git a/setup.py b/setup.py index 554cc69..2cd1bfe 100755 --- a/setup.py +++ b/setup.py @@ -1,8 +1,6 @@ #!/usr/bin/python from distutils.core import setup, Command from unittest import TextTestRunner, TestLoader -from glob import glob -from os.path import splitext, basename, join as pjoin import os class TestCommand(Command): @@ -27,6 +25,7 @@ setup(name='rfc3161', license='MIT', url='https://dev.entrouvert.org/projects/python-rfc3161', description='Python implementation of the RFC3161 specification, using pyasn1', + long_description=file('README').read(), author='Benjamin Dauvergne', author_email='bdauvergne@entrouvert.com', packages=['rfc3161'],