diff --git a/FlatCAM.py b/FlatCAM.py index 33b2b7c7..cd961119 100644 --- a/FlatCAM.py +++ b/FlatCAM.py @@ -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() diff --git a/README.md b/README.md index 678a9953..b896f620 100644 --- a/README.md +++ b/README.md @@ -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