Fixed setup

This commit is contained in:
Nikita Chernyi 2019-07-01 13:57:56 +03:00
parent c6c6deb71f
commit 98e948f257
No known key found for this signature in database
GPG Key ID: 59AAF447DE36F9A4
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
ARG python_version=3.6 ARG python_version=3.6
FROM pypy:${python_version} FROM python:${python_version}
LABEL maintainer "devs@bigchaindb.com" LABEL maintainer "devs@bigchaindb.com"
RUN apt-get update \ RUN apt-get update \

View File

@ -74,7 +74,6 @@ tests_require = [
install_requires = [ install_requires = [
# TODO Consider not installing the db drivers, or putting them in extras. # TODO Consider not installing the db drivers, or putting them in extras.
'pymongo~=3.6', 'pymongo~=3.6',
# 'pysha3~=1.0.2', # @PYPY: not compability with PyPy, replaced with native hashlib
'cryptoconditions==0.8.0', 'cryptoconditions==0.8.0',
'python-rapidjson~=0.6.0', 'python-rapidjson~=0.6.0',
'logstats~=0.2.1', 'logstats~=0.2.1',
@ -91,6 +90,9 @@ install_requires = [
'packaging~=18.0', 'packaging~=18.0',
] ]
if sys.version_info < (3, 6):
install_requires.append('pysha3~=1.0.2')
setup( setup(
name='BigchainDB', name='BigchainDB',
version=version['__version__'], version=version['__version__'],