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
future>=0.15.2
cryptography
cryptography>=2.1.4

View File

@ -44,13 +44,13 @@ if __name__ == "__main__":
import cryptography
except ImportError:
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
try:
import setuptools
except ImportError:
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
if failed:
sys.exit(1)