- updated the make file for freezed executable

This commit is contained in:
Marius Stanciu
2019-11-08 00:14:23 +02:00
committed by Marius
parent 48a15e27b7
commit c091af35b8
2 changed files with 17 additions and 1 deletions

View File

@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
=================================================
8.11.2019
- updated the make file for freezed executable
7.11.2019
- added the '.ngc' file extension to the GCode Save file dialog filter

View File

@@ -89,7 +89,19 @@ else:
print("INCLUDE_FILES", include_files)
def getTargetName():
my_OS = platform.system()
if my_OS == 'Linux':
return "FlatCAM"
elif my_OS == 'Windows':
return "FlatCAM.exe"
else:
return "FlatCAM.dmg"
# execfile('clean.py')
exe = Executable("FlatCAM.py", icon='share/flatcam_icon48.ico', base=base, targetName=getTargetName())
setup(
name="FlatCAM",
@@ -97,5 +109,5 @@ setup(
version="8.9",
description="FlatCAM: 2D Computer Aided PCB Manufacturing",
options=dict(build_exe=buildOptions),
executables=[Executable("FlatCAM.py", icon='share/flatcam_icon48.ico', base=base)]
executables=[exe]
)