Skip to content

Commit

Permalink
added license
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnfarrell committed May 23, 2015
1 parent e3c76ba commit 67e9e87
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
15 changes: 15 additions & 0 deletions LICENSE
@@ -0,0 +1,15 @@
pandastable
Copyright (C) 2014-

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
14 changes: 11 additions & 3 deletions freeze.py
@@ -1,16 +1,24 @@
import sys, os
from cx_Freeze import setup, Executable

sys.path.append('pandastable')

# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"packages": ["os","numpy","matplotlib","pandas","pandastable"],
"excludes": []}
"excludes": [],
"namespace_packages": ['mpl_toolkits'],
"include_msvcr": True }

base = None
if sys.platform == "win32":
base = "Win32GUI"

executables = [Executable("pandastable/app.py", base=base)]
setup( name = "dataviewer",
executables = [Executable("pandastable/app.py", base=base,
copyDependentFiles = True,
targetName='DataViewer.exe',
icon="img/dataviewer.ico")]

setup( name = "DataViewer",
version = "0.2",
description = "Data analysis and plotter",
options = {"build_exe": build_exe_options},
Expand Down
4 changes: 3 additions & 1 deletion pandastable/plotting.py
Expand Up @@ -76,7 +76,7 @@ def hide():
self.mplopts3d = MPL3DOptions()
w2 = self.mplopts3d.showDialog(self.nb)
self.nb.add(w2, text='3D plot', sticky='news')

self.table.add_callback()
return

def setMode(self, evt=None):
Expand Down Expand Up @@ -106,6 +106,8 @@ def addFigure(self, parent):
canvas = FigureCanvasTkAgg(f, master=parent)
canvas.show()
canvas.get_tk_widget().pack(side=TOP, fill=BOTH, expand=1)
canvas.get_tk_widget().configure(highlightcolor='gray75',
highlightbackground='gray75')
toolbar = NavigationToolbar2TkAgg(canvas, parent)
toolbar.update()
canvas._tkcanvas.pack(side=TOP, fill=BOTH, expand=1)
Expand Down

0 comments on commit 67e9e87

Please sign in to comment.