-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (27 loc) · 1.43 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
29
from distutils.core import setup, Extension
x16rt_hash_module = Extension('x16rt_hash',
sources = ['x16rt_module.c',
'x16rt.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/sha2.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 = 'x16rt_hash',
version = '0.1',
description = 'Bindings for X16RT hashing PoW',
ext_modules = [x16rt_hash_module])