Using is_module_satisfies() for pyinstaller fails when installed using 'pip install develop.zip' command (PyInstaller Issue #2802).
()
| 47 | |
| 48 | |
| 49 | def check_pyinstaller_version(): |
| 50 | """Using is_module_satisfies() for pyinstaller fails when |
| 51 | installed using 'pip install develop.zip' command |
| 52 | (PyInstaller Issue #2802).""" |
| 53 | # Example version string for dev version of pyinstaller: |
| 54 | # > 3.3.dev0+g5dc9557c |
| 55 | version = PyInstaller.__version__ |
| 56 | match = re.search(r"^\d+\.\d+(\.\d+)?", version) |
| 57 | if not (match.group(0) >= PYINSTALLER_MIN_VERSION): |
| 58 | raise SystemExit("Error: pyinstaller %s or higher is required" |
| 59 | % PYINSTALLER_MIN_VERSION) |
| 60 | |
| 61 | |
| 62 | def check_cefpython3_version(): |