use the README file for the long description of the package

This commit is contained in:
Benjamin Dauvergne 2014-04-25 11:55:24 +02:00
parent 7ffe63217f
commit eafa05a0d0
3 changed files with 22 additions and 13 deletions

21
README Normal file
View File

@ -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 <bdauvergne@entrouvert.com>
Michael Gebetsroither <michael@mgeb.org>

View File

@ -1,11 +0,0 @@
rfc3161
=======
A simple client library for cryptographic timestamping service implement the
protocol from RFC3161.
Authors
=======
Benjamin Dauvergne <bdauvergne@entrouvert.com>
Michael Gebetsroither <michael@mgeb.org>

View File

@ -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'],