- if FlatCAM is not run with Python version >= 3.5 it will exit.

This commit is contained in:
Marius Stanciu 2020-04-09 04:36:41 +03:00 committed by Marius
parent 42949021b1
commit c13721184c
2 changed files with 17 additions and 0 deletions

View File

@ -32,6 +32,19 @@ if __name__ == '__main__':
# NOTE: Never talk to the GUI from threads! This is why I commented the above.
freeze_support()
# Supported Python version is >= 3.5
if sys.version_info.major >= 3:
if sys.version_info.minor >= 5:
pass
else:
print("FlatCAM BETA uses PYTHON 3. The version minimum is 3.5\n"
"Your Python version is: %s" % str(sys.version_info))
os._exit(0)
else:
print("FlatCAM BETA uses PYTHON 3. The version minimum is 3.5\n"
"Your Python version is: %s" % str(sys.version_info))
os._exit(0)
debug_trace()
VisPyPatches.apply_patches()

View File

@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
=================================================
10.04.2020
- if FlatCAM is not run with Python version >= 3.5 it will exit.
9.4.2020
- fixed the Tcl Command Delete to have an argument -f that will force deletion evading the popup (if the popup is enabled). The sme command without a name now will delete all objects