-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (26 loc) · 1.38 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from distutils.core import setup, Extension
x16r_hash_module = Extension('x16r_hash',
sources = ['x16r_module.c',
'x16r.c',
'sha3/blake.c',
'sha3/bmw.c',
'sha3/groestl.c',
'sha3/jh.c',
'sha3/keccak.c',
'sha3/skein.c',
'sha3/cubehash.c',
'sha3/echo.c',
'sha3/luffa.c',
'sha3/simd.c',
'sha3/hamsi.c',
'sha3/hamsi_helper.c',
'sha3/fugue.c',
'sha3/shavite.c',
'sha3/shabal.c',
'sha3/whirlpool.c',
'sha3/sha2big.c'],
include_dirs=['.', './sha3'])
setup (name = 'x16r_hash',
version = '1.0',
description = 'Bindings for proof of work used by X16R',
ext_modules = [x16r_hash_module])