| 1 | #! /usr/bin/python |
| 2 | |
| 3 | import distutils.core as DC |
| 4 | import mdwsetup as MS |
| 5 | |
| 6 | cat = DC.Extension('kalyna', ['kalyna-python.c', |
| 7 | 'ref/kalyna.c', 'ref/tables.c'], |
| 8 | extra_compile_args = ['-Iref/', |
| 9 | '-DVERSION="%s"' % |
| 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/', |
| 15 | author = 'Mark Wooding (Python); ' |
| 16 | 'Ruslan Kiianchuk, Ruslan Mordvinov, Roman Oliynykov |
| 17 | (reference implementation)', |
| 18 | author_email = 'mdw@distorted.org.uk', |
| 19 | license = 'Alas unclear', |
| 20 | ext_modules = [cat]) |