-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
- More robust virtualenv version detection - Versioning adjustment as dictated in https://www.python.org/dev/peps/pep-0440/ after suggestions by @heikoheiko - Pep8 style changes in setup.py
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
#!/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], | ||
) | ||
|
||
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='0.1.23', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
LefterisJP
Author
Contributor
|
||
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], | ||
) |
Why have you changed the version here?