Skip to content

Commit

Permalink
Use old py_ecc is py2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sammchardy committed Jan 15, 2019
1 parent 85ab76b commit 9c08150
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Expand Up @@ -42,9 +42,11 @@ def find_version(*file_paths):

def install_requires():

requires = ['requests', 'coincurve>=7.0.0', 'py_ecc==1.4.2', 'pycryptodome>=3.5.1,<4', 'rlp==0.4.7']
requires = ['requests', 'coincurve>=7.0.0', 'pycryptodome>=3.5.1,<4', 'rlp==0.4.7']
if sys.version_info > (3, 3):
requires.extend(['websockets>=4.0.0', 'aiohttp>=2.3.0'])
requires.extend(['py_ecc', 'websockets>=4.0.0', 'aiohttp>=2.3.0'])
else:
requires.extend(['py_ecc==1.4.2'])
print("installing:{}".format(requires))
return requires

Expand Down

0 comments on commit 9c08150

Please sign in to comment.