-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
40 lines (32 loc) · 1.14 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
39
from setuptools import setup, Extension
lyrasources = [
'Lyra2RE.c',
'Sponge.c',
'Lyra2.c',
'sha3/blake.c',
'sha3/groestl.c',
'sha3/keccak.c',
'sha3/cubehash.c',
'sha3/bmw.c',
'sha3/skein.c'
]
lyraincludes = [
'.',
'./sha3'
]
lyra2re2_hash_module = Extension('lyra2re2_hash',
sources = lyrasources + ['lyra2re2module.c'],
include_dirs=lyraincludes)
lyra2re3_hash_module = Extension('lyra2re3_hash',
sources = lyrasources + ['lyra2re3module.c'],
include_dirs=lyraincludes)
lyra2re_hash_module = Extension('lyra2re_hash',
sources = lyrasources + ['lyra2remodule.c'],
include_dirs=lyraincludes)
setup (name = 'lyra2re2_hash',
version = '1.2.1',
author_email = '[email protected]',
author = 'James Lovejoy',
url = 'https://github.com/metalicjames/lyra2re-hash-python',
description = 'Bindings for Lyra2RE2 proof of work used by Vertcoin',
ext_modules = [lyra2re3_hash_module, lyra2re2_hash_module, lyra2re_hash_module])