plugeth/Godeps/_workspace/src/github.com/ethereum/ethash/setup.py

34 lines
1.1 KiB
Python
Raw Normal View History

#!/usr/bin/env python
from distutils.core import setup, Extension
2015-03-14 15:42:05 +00:00
pyethash = Extension('pyethash',
sources = [
'src/python/core.c',
'src/libethash/util.c',
'src/libethash/internal.c',
2015-03-14 15:42:05 +00:00
'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'
],
2015-03-14 15:42:05 +00:00
extra_compile_args = ["-Isrc/", "-std=gnu99", "-Wall"])
setup (
name = 'pyethash',
author = "Matthew Wampler-Doty",
author_email = "matthew.wampler.doty@gmail.com",
license = 'GPL',
2015-03-25 13:57:49 +00:00
version = '23',
2015-03-14 15:42:05 +00:00
url = 'https://github.com/ethereum/ethash',
2015-03-25 13:57:49 +00:00
download_url = 'https://github.com/ethereum/ethash/tarball/v23',
description = 'Python wrappers for ethash, the ethereum proof of work hashing function',
2015-03-14 15:42:05 +00:00
ext_modules = [pyethash],
)