forked from spesmilo/electrumx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (66 loc) · 3.09 KB
/
setup.py
File metadata and controls
68 lines (66 loc) · 3.09 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import setuptools
from distutils.core import Extension
version = '1.16.0'
setuptools.setup(
name='e-x',
version=version,
scripts=['electrumx_server', 'electrumx_rpc', 'electrumx_compact_history'],
python_requires='>=3.7',
install_requires=['aiorpcX[ws]>=0.18.5,<0.19', 'attrs',
'plyvel', 'pylru', 'aiohttp>=3.3,<4',
'quark_hash', 'python-dotenv', 'xevan_hash',
'deeponion-x13-hash'],
extras_require={
'rapidjson': ['python-rapidjson>=0.4.1,<2.0'],
'rocksdb': ['python-rocksdb>=0.6.9'],
'ujson': ['ujson>=2.0.0,<4.0.0'],
'uvloop': ['uvloop>=0.14'],
# For various coins
'blake256': ['blake256>=0.1.1'],
'crypto': ['pycryptodomex>=3.8.1'],
'groestl': ['groestlcoin-hash>=1.0.1'],
'tribushashm': ['tribushashm>=1.0.5'],
'xevan-hash': ['xevan-hash'],
'x11-hash': ['x11-hash>=1.4'],
'zny-yespower-0-5': ['zny-yespower-0-5'],
'bell-yespower': ['bell-yespower'],
'cpupower': ['cpupower'],
},
packages=setuptools.find_packages(include=('electrumx*',)),
description='ElectrumX Server',
author='Electrum developers',
author_email='electrumdev@gmail.com',
license='MIT Licence',
url='https://github.com/spesmilo/electrumx',
long_description='Server implementation for the Electrum protocol',
download_url=('https://github.com/spesmilo/electrumX/archive/'
f'{version}.tar.gz'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: AsyncIO',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
"Programming Language :: Python :: 3.7",
"Topic :: Database",
'Topic :: Internet',
],
ext_modules=[Extension("x11kvs",
sources = ['x11kvs/algo/groestl/sph_groestl.c',
'x11kvs/algo/blake/sph_blake.c',
'x11kvs/algo/keccak/sph_keccak.c',
'x11kvs/algo/jh/sph_jh.c',
'x11kvs/algo/bmw/sph_bmw.c',
'x11kvs/algo/cubehash/cubehash_sse2.c',
'x11kvs/algo/shavite/sph_shavite.c',
'x11kvs/algo/simd/nist.c',
'x11kvs/algo/simd/vector.c',
'x11kvs/algo/luffa/luffa_for_sse2.c',
'x11kvs/algo/skein/sph_skein.c',
'x11kvs/algo/echo/sph_echo.c',
'x11kvs/algo/sha/sha2.c',
'x11kvs/algo/x11/x11kvs.c',
'x11kvs/x11kvsModule.c'
],
include_dirs=['x11kvs', 'x11kvs/simd-utils', '/usr/include/openssl'
])]
)