From 9f4ee91b0ec5f45e4f40a6d6c00ebe1c4a572f53 Mon Sep 17 00:00:00 2001 From: Juan Pablo Caram Date: Thu, 22 Sep 2016 10:17:51 -0400 Subject: [PATCH] Comments at top of files. Also fixes #214. --- FlatCAM.py | 8 ++++++++ FlatCAMApp.py | 8 ++++++++ FlatCAMCommon.py | 8 ++++++++ FlatCAMDraw.py | 8 ++++++++ FlatCAMGUI.py | 8 ++++++++ FlatCAMObj.py | 8 ++++++++ FlatCAMProcess.py | 8 ++++++++ FlatCAMShell.py | 8 ++++++++ FlatCAMTool.py | 8 ++++++++ FlatCAMVersion.py | 8 ++++++++ FlatCAMWorker.py | 8 ++++++++ ObjectCollection.py | 8 ++++++++ make_win32.py | 17 ++++++++++++++++- 13 files changed, 112 insertions(+), 1 deletion(-) diff --git a/FlatCAM.py b/FlatCAM.py index 46cfc307..cc62d912 100644 --- a/FlatCAM.py +++ b/FlatCAM.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + import sys from PyQt4 import QtGui from FlatCAMApp import App diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 4bbc4b51..388a49f9 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + import sys import traceback import urllib diff --git a/FlatCAMCommon.py b/FlatCAMCommon.py index 6536c8a2..2cb9cefb 100644 --- a/FlatCAMCommon.py +++ b/FlatCAMCommon.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + class LoudDict(dict): """ A Dictionary with a callback for diff --git a/FlatCAMDraw.py b/FlatCAMDraw.py index fbfdc059..26094aa8 100644 --- a/FlatCAMDraw.py +++ b/FlatCAMDraw.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + from PyQt4 import QtGui, QtCore, Qt import FlatCAMApp from camlib import * diff --git a/FlatCAMGUI.py b/FlatCAMGUI.py index 10a2820e..7fb69d03 100644 --- a/FlatCAMGUI.py +++ b/FlatCAMGUI.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + from PyQt4 import QtGui, QtCore, Qt from GUIElements import * diff --git a/FlatCAMObj.py b/FlatCAMObj.py index b4098b38..96ce05c4 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + from cStringIO import StringIO from PyQt4 import QtCore from copy import copy diff --git a/FlatCAMProcess.py b/FlatCAMProcess.py index db65602e..05f3a766 100644 --- a/FlatCAMProcess.py +++ b/FlatCAMProcess.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + from FlatCAMGUI import FlatCAMActivityView from PyQt4 import QtCore import weakref diff --git a/FlatCAMShell.py b/FlatCAMShell.py index 695d7a9b..d07495d8 100644 --- a/FlatCAMShell.py +++ b/FlatCAMShell.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + import termwidget diff --git a/FlatCAMTool.py b/FlatCAMTool.py index 0aefa646..3bd856f7 100644 --- a/FlatCAMTool.py +++ b/FlatCAMTool.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + from PyQt4 import QtGui diff --git a/FlatCAMVersion.py b/FlatCAMVersion.py index c8724fa0..ba9e04a5 100644 --- a/FlatCAMVersion.py +++ b/FlatCAMVersion.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + ################################################# # FlatCAM - Version settings # ################################################# diff --git a/FlatCAMWorker.py b/FlatCAMWorker.py index 8c13f4b1..29192fc3 100644 --- a/FlatCAMWorker.py +++ b/FlatCAMWorker.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + from PyQt4 import QtCore diff --git a/ObjectCollection.py b/ObjectCollection.py index e423e5dd..e868d572 100644 --- a/ObjectCollection.py +++ b/ObjectCollection.py @@ -1,3 +1,11 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +############################################################ + #from PyQt4.QtCore import QModelIndex from FlatCAMObj import * import inspect # TODO: Remove diff --git a/make_win32.py b/make_win32.py index 0a503eea..66232dfe 100644 --- a/make_win32.py +++ b/make_win32.py @@ -1,3 +1,18 @@ +############################################################ +# FlatCAM: 2D Post-processing for Manufacturing # +# http://flatcam.org # +# Author: Juan Pablo Caram (c) # +# Date: 2/5/2014 # +# MIT Licence # +# # +# Creates a portlable copy of FlatCAM, including Python # +# itself and all dependencies. # +# # +# This is not an aid to install FlatCAM from source on # +# Windows platforms. It is only useful when FlatCAM is up # +# and running and ready to be packaged. # +############################################################ + # Files not needed: Qt, tk.dll, tcl.dll, tk/, tcl/, vtk/, # scipy.lib.lapack.flapack.pyd, scipy.lib.blas.fblas.pyd, # numpy.core._dotblas.pyd, scipy.sparse.sparsetools._bsr.pyd, @@ -42,7 +57,7 @@ execfile('clean.py') setup( name="FlatCAM", author="Juan Pablo Caram", - version="8.4", + version="8.5", description="FlatCAM: 2D Computer Aided PCB Manufacturing", options=dict(build_exe=buildOptions), executables=[Executable("FlatCAM.py", base=base)]