-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·34 lines (32 loc) · 1.73 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·34 lines (32 loc) · 1.73 KB
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
30
31
32
33
34
from distutils.core import setup, Extension
x21s_hash_module = Extension('x21s_hash',
sources = ['x21s_module.c',
'x21s.c',
'sph/extra.c',
'sph/blake.c',
'sph/echo.c',
'sph/groestl.c',
'sph/haval.c',
'sph/keccak.c',
'sph/shavite.c',
'sph/bmw.c',
'sph/fugue.c',
'sph/hamsi.c',
'sph/luffa.c',
'sph/simd.c',
'sph/sha2.c',
'sph/sph_sha2.c',
'sph/sph_sha2big.c',
'sph/whirlpool.c',
'sph/cubehash.c',
'sph/gost_streebog.c',
'sph/jh.c',
'sph/sponge.c',
'sph/lyra2.c',
'sph/shabal.c',
'sph/skein.c',
'sph/tiger.c'],
include_dirs=['.', './sph'])
setup (name = 'x21s_hash',
version = '1.0',
ext_modules = [x21s_hash_module])