- updated the make file for freezed executable
This commit is contained in:
@@ -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
|
7.11.2019
|
||||||
|
|
||||||
- added the '.ngc' file extension to the GCode Save file dialog filter
|
- added the '.ngc' file extension to the GCode Save file dialog filter
|
||||||
|
|||||||
@@ -89,7 +89,19 @@ else:
|
|||||||
|
|
||||||
print("INCLUDE_FILES", include_files)
|
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')
|
# execfile('clean.py')
|
||||||
|
exe = Executable("FlatCAM.py", icon='share/flatcam_icon48.ico', base=base, targetName=getTargetName())
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="FlatCAM",
|
name="FlatCAM",
|
||||||
@@ -97,5 +109,5 @@ setup(
|
|||||||
version="8.9",
|
version="8.9",
|
||||||
description="FlatCAM: 2D Computer Aided PCB Manufacturing",
|
description="FlatCAM: 2D Computer Aided PCB Manufacturing",
|
||||||
options=dict(build_exe=buildOptions),
|
options=dict(build_exe=buildOptions),
|
||||||
executables=[Executable("FlatCAM.py", icon='share/flatcam_icon48.ico', base=base)]
|
executables=[exe]
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user