aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/ethereum/ethash/setup.py
blob: 29d6ad6d243de1ad3d5a3f97a49e51fbc635b718 (plain) (blame)
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
#!/usr/bin/env python
from distutils.core import setup, Extension
 
pyethash = Extension('pyethash', 
        sources = [
            'src/python/core.c', 
            'src/libethash/util.c', 
            'src/libethash/internal.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 = ["-Isrc/", "-std=gnu99", "-Wall"])
 
setup (
       name = 'pyethash',
       author = "Matthew Wampler-Doty",
       author_email = "matthew.wampler.doty@gmail.com",
       license = 'GPL',
       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],
      )