-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py~
executable file
·29 lines (26 loc) · 1.33 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
bitblock_hash_module = Extension('bitblock_hash',
sources = ['bitblockmodule.c',
'bitblock.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/md_helper.c'],
include_dirs=['.', './sha3'])
setup (name = 'bitblock_hash',
version = '1.0',
description = 'Bindings for proof of work used by BitBlock',
ext_modules = [bitblock_hash_module])