diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-14 23:42:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-14 23:42:05 +0800 |
commit | 95711bc2dd0af71c741871007cecad12be8076ad (patch) | |
tree | 1d59ced40b3823608710716edef523399336d88a /Godeps/_workspace/src/github.com/ethereum/ethash/setup.py | |
parent | 387f6bba3e221dac6f9884b3f9aba98d6b8591cf (diff) | |
download | go-tangerine-95711bc2dd0af71c741871007cecad12be8076ad.tar.gz go-tangerine-95711bc2dd0af71c741871007cecad12be8076ad.tar.zst go-tangerine-95711bc2dd0af71c741871007cecad12be8076ad.zip |
Updated ethash
Diffstat (limited to 'Godeps/_workspace/src/github.com/ethereum/ethash/setup.py')
-rw-r--r-- | Godeps/_workspace/src/github.com/ethereum/ethash/setup.py | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/Godeps/_workspace/src/github.com/ethereum/ethash/setup.py b/Godeps/_workspace/src/github.com/ethereum/ethash/setup.py index 4e27aad6c..29d6ad6d2 100644 --- a/Godeps/_workspace/src/github.com/ethereum/ethash/setup.py +++ b/Godeps/_workspace/src/github.com/ethereum/ethash/setup.py @@ -1,21 +1,33 @@ #!/usr/bin/env python from distutils.core import setup, Extension -pyethash_core = Extension('pyethash.core', +pyethash = Extension('pyethash', sources = [ 'src/python/core.c', 'src/libethash/util.c', 'src/libethash/internal.c', - 'src/libethash/sha3.c' + 'src/libethash/sha3.c'], + depends = [ + 'src/libethash/ethash.h', + 'src/libethash/compiler.h', + 'src/libethash/data_sizes.h', + 'src/libethash/endian.h', + 'src/libethash/ethash.h', + 'src/libethash/fnv.h', + 'src/libethash/internal.h', + 'src/libethash/sha3.h', + 'src/libethash/util.h' ], - extra_compile_args = ["-std=gnu99"]) + extra_compile_args = ["-Isrc/", "-std=gnu99", "-Wall"]) setup ( name = 'pyethash', author = "Matthew Wampler-Doty", author_email = "matthew.wampler.doty@gmail.com", license = 'GPL', - version = '1.0', + version = '23', + url = 'https://github.com/ethereum/ethash', + download_url = 'https://github.com/ethereum/ethash/tarball/v23', description = 'Python wrappers for ethash, the ethereum proof of work hashing function', - ext_modules = [pyethash_core], + ext_modules = [pyethash], ) |