Commit | Line | Data |
---|---|---|
50edf34f MW |
1 | #! /usr/bin/python |
2 | ||
3 | import distutils.core as DC | |
4 | import mdwsetup as MS | |
5 | ||
65f8a434 MW |
6 | cat = DC.Extension('kalyna', ['kalyna-python.c', |
7 | 'ref/kalyna.c', 'ref/tables.c'], | |
8 | extra_compile_args = ['-Iref/', | |
9 | '-DVERSION="%s"' % | |
50edf34f MW |
10 | MS.auto_version()]) |
11 | ||
12 | MS.setup(name = 'kalyna-python', | |
13 | description = 'Python binding to Kalyna reference implementation', | |
14 | url = 'https://git.distorted.org.uk/~mdw/kalyna-python/', | |
65f8a434 MW |
15 | author = 'Mark Wooding (Python); ' |
16 | 'Ruslan Kiianchuk, Ruslan Mordvinov, Roman Oliynykov | |
17 | (reference implementation)', | |
50edf34f MW |
18 | author_email = 'mdw@distorted.org.uk', |
19 | license = 'Alas unclear', | |
20 | ext_modules = [cat]) |