summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2013-12-14 12:36:34 +0100
committerPicca Frédéric-Emmanuel <picca@debian.org>2013-12-14 12:36:34 +0100
commit0d3b620223c20b6159027dd4bf774c87e9d6a828 (patch)
tree8101cffb6a6edd59d7ef793f490374ea907f7b74 /scripts
parent334337555023973f22ba623336c93134908faa7d (diff)
Imported Upstream version 4.7.1+dfsg
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pymca_win_post_install.py29
1 files changed, 27 insertions, 2 deletions
diff --git a/scripts/pymca_win_post_install.py b/scripts/pymca_win_post_install.py
index 363282a..39c7ed2 100644
--- a/scripts/pymca_win_post_install.py
+++ b/scripts/pymca_win_post_install.py
@@ -1,4 +1,29 @@
#!python
+#
+# Copyright (C) 2004-2013 V. Armando Sole - ESRF
+#
+# Permission is hereby granted, free of charge, to any person
+# obtaining a copy of this software and associated documentation
+# files (the "Software"), to deal in the Software without
+# restriction, including without limitation the rights to use,
+# copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following
+# conditions:
+#
+# The above copyright notice and this permission notice shall be
+# included in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+#
+__license__ = "MIT"
"""Windows-specific part of the installation"""
import os, sys, shutil
@@ -106,5 +131,5 @@ if len(sys.argv) > 1:
elif sys.argv[1] in ['-remove', 'remove']:
remove()
else:
- print "Script was called with option %s" % sys.argv[1]
- print "It has to be called with option -install or -remove"
+ print("Script was called with option %s" % sys.argv[1])
+ print("It has to be called with option -install or -remove")