Skip to content

Commit ce71d18

Browse files
author
James Cleveland
committed
Fixed it to distributable.
1 parent e02d865 commit ce71d18

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
build/
2+
dist/
3+
MANIFEST

setup.py

100644100755
Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1+
""" Whirpool: Bindings for whirlpool hash reference implementation.
2+
3+
The Whirlpool hashing algorithm (http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html),
4+
written by Vincent Rijmen and Paulo S. L. M. Barreto is a secure, modern hash which is
5+
as yet unbroken and fairly obscure. Provided on the algorithm's page is a C reference
6+
implementation which is fairly simple to wrap with a Python extension, which is much
7+
faster than re-implementation in pure Python.
8+
"""
19
from distutils.core import setup, Extension
210

11+
12+
doclines = __doc__.split("\n")
13+
314
setup(name = "Whirlpool",
415
version = "0.1",
5-
ext_modules = [Extension("whirlpool", ["main.c"])])
16+
description = doclines[0],
17+
long_description = "\n".join(doclines[2:]),
18+
url = "https://github.com/radiosilence/python-whirlpool",
19+
maintainer = "James E. Cleveland",
20+
maintainer_email = "[email protected]",
21+
license = "Public Domain",
22+
platforms = ["any"],
23+
ext_modules = [Extension("whirlpool", ["main.c"])],
24+
data_files = [("whirlpool", ['nessie.h', "Whirlpool.c"])]
25+
)
626

0 commit comments

Comments
 (0)