Update minimum version for cryptography package required

This commit is contained in:
Shivani Tipnis
2018-11-16 11:27:00 +05:30
parent 26a6969873
commit e1774cb6f9
2 changed files with 3 additions and 3 deletions

View File

@@ -7,4 +7,4 @@ setuptools
# #
pyserial>=3.0 pyserial>=3.0
future>=0.15.2 future>=0.15.2
cryptography cryptography>=2.1.4

View File

@@ -44,13 +44,13 @@ if __name__ == "__main__":
import cryptography import cryptography
except ImportError: except ImportError:
print("Please run the following command to install MSYS2's MINGW Python cryptography package:") print("Please run the following command to install MSYS2's MINGW Python cryptography package:")
print("pacman -S mingw-w64-i686-python%d-cryptography" % (sys.version_info[0],)) print("pacman -Sy mingw-w64-i686-python%d-cryptography" % (sys.version_info[0],))
failed = True failed = True
try: try:
import setuptools import setuptools
except ImportError: except ImportError:
print("Please run the following command to install MSYS2's MINGW Python setuptools package:") print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
print("pacman -S mingw-w64-i686-python%d-setuptools" % (sys.version_info[0],)) print("pacman -Sy mingw-w64-i686-python%d-setuptools" % (sys.version_info[0],))
failed = True failed = True
if failed: if failed:
sys.exit(1) sys.exit(1)