forked from metalicjames/lyra2re-hash-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (47 loc) · 1.77 KB
/
Copy pathsetup.py
File metadata and controls
52 lines (47 loc) · 1.77 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from setuptools import setup, Extension
lyra2rec0ban_hash_module = Extension('lyra2rec0ban_hash',
sources = [
'lyra2rec0banmodule.c',
'Lyra2RE.c',
'Sponge.c',
'Lyra2.c',
'sha3/blake.c',
'sha3/groestl.c',
'sha3/keccak.c',
'sha3/cubehash.c',
'sha3/bmw.c',
'sha3/skein.c'],
include_dirs=['.', './sha3'])
lyra2re2_hash_module = Extension('lyra2re2_hash',
sources = [
'lyra2re2module.c',
'Lyra2RE.c',
'Sponge.c',
'Lyra2.c',
'sha3/blake.c',
'sha3/groestl.c',
'sha3/keccak.c',
'sha3/cubehash.c',
'sha3/bmw.c',
'sha3/skein.c'],
include_dirs=['.', './sha3'])
lyra2re_hash_module = Extension('lyra2re_hash',
sources = [
'lyra2remodule.c',
'Lyra2RE.c',
'Sponge.c',
'Lyra2.c',
'sha3/blake.c',
'sha3/groestl.c',
'sha3/keccak.c',
'sha3/cubehash.c',
'sha3/bmw.c',
'sha3/skein.c'],
include_dirs=['.', './sha3'])
setup (name = 'lyra2rec0ban_hash',
version = '1.0.0',
author_email = 'c0ban8project@gmail.com',
author = 'c0ban project',
url = 'https://github.com/c0ban/lyra2re-hash-python',
description = 'Bindings for Lyra2REc0ban proof of work used by c0ban',
ext_modules = [lyra2rec0ban_hash_module, lyra2re2_hash_module, lyra2re_hash_module])