--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,4 @@
setup.py
-geomorph_install.py
topo_clip.pyw
geomorph/__init__.py
geomorph/pip.py
--- a/geomorph/topo_clip.py
+++ b/geomorph/topo_clip.py
@@ -324,7 +324,6 @@ class Twind(QMainWindow, Ui_MainWindow):
def enableSave(self):
- self.msg("Calculating")
self.saveButton.setEnabled(False)
self.insideCheckBox.setEnabled(False)
self.inFileButton.setEnabled(False)
@@ -336,6 +335,7 @@ class Twind(QMainWindow, Ui_MainWindow):
self.outTextEdit.setText("")
if not (self.BLN and self.CSV):
return
+ self.msg("Calculating")
outfn = self.save_out
ofp = open(outfn, 'w')
--- a/geomorph_install.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-
-# post install script for geomorph
-
-import sys
-
-if sys.argv[1] == '-install':
-
- if sys.platform == 'win32':
- try:
- create_shortcut("C:\\Python25\\Scripts\\topo_clip.pyw",
- "Topo data clipper",
- "topo_clip")
- except:
- print "Unable to create shortcut"
--- a/setup.py
+++ b/setup.py
@@ -26,12 +26,12 @@ Geomorph is a custom front end to Quantu
written in python.
""",
platform="linux/windows",
- scripts=['topo_clip.pyw', 'geomorph_install.py'],
+ scripts=['topo_clip.pyw'],
classifiers = [
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU General Public License (GPL)'
- ]
+ ],
windows=[{"script": "topo_clip.pyw"}] )