- if FlatCAM is not run with Python version >= 3.5 it will exit.
This commit is contained in:
13
FlatCAM.py
13
FlatCAM.py
@@ -32,6 +32,19 @@ if __name__ == '__main__':
|
|||||||
# NOTE: Never talk to the GUI from threads! This is why I commented the above.
|
# NOTE: Never talk to the GUI from threads! This is why I commented the above.
|
||||||
freeze_support()
|
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()
|
debug_trace()
|
||||||
VisPyPatches.apply_patches()
|
VisPyPatches.apply_patches()
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user