-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·22 lines (18 loc) · 772 Bytes
/
setup.py
File metadata and controls
executable file
·22 lines (18 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/python
import os
from distutils.core import setup, Extension
os.environ['CC'] = 'g++'; os.environ['CXX'] = 'g++';
heavycoin_hash_module = Extension('heavycoin_hash',
sources = ['heavycoinmodule.c',
'heavy.cpp',
'hefty1.cpp',
'sha3/blake.c',
'sha3/groestl.c',
'sha3/keccak.c'],
include_dirs=['.', './sha3'],
libraries = ['ssl','crypto']
)
setup (name = 'heavycoin_hash',
version = '1.0',
description = 'Bindings for proof of work hash used by Heavycoin',
ext_modules = [heavycoin_hash_module])