-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
39 lines (34 loc) · 1.28 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
30
31
32
33
34
35
36
37
38
from setuptools import setup, Extension
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 = 'lyra2re2_hash',
version = '1.1.2',
author_email = '[email protected]',
author = 'James Lovejoy',
url = 'https://github.com/metalicjames/lyra2re-hash-python',
description = 'Bindings for Lyra2RE2 proof of work used by STRAKS',
ext_modules = [lyra2re2_hash_module, lyra2re_hash_module])