about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kindlecomicconverter/shared.py14
-rw-r--r--other/osx/Info.plist2
-rwxr-xr-xsetup.py2
3 files changed, 10 insertions, 8 deletions
diff --git a/kindlecomicconverter/shared.py b/kindlecomicconverter/shared.py
index 89e0b19..c2a8ecf 100644
--- a/kindlecomicconverter/shared.py
+++ b/kindlecomicconverter/shared.py
@@ -106,12 +106,14 @@ def removeFromZIP(zipfname, *filenames):
 
 def sanitizeTrace(traceback):
     return ''.join(format_tb(traceback))\
-        .replace('C:/Users/Pawel/Documents/Projekty/KCC/', '')\
-        .replace('C:/Python35/', '')\
-        .replace('c:/python35/', '')\
-        .replace('C:\\Users\\Pawel\\Documents\\Projekty\\KCC\\', '')\
-        .replace('C:\\Python35\\', '')\
-        .replace('c:\\python35\\', '')
+        .replace('C:/projects/kcc/', '') \
+        .replace('c:/projects/kcc/', '') \
+        .replace('C:/python36-x64/', '')\
+        .replace('c:/python36-x64/', '')\
+        .replace('C:\\projects\\kcc\\', '') \
+        .replace('c:\\projects\\kcc\\', '') \
+        .replace('C:\\python36-x64\\', '')\
+        .replace('c:\\python36-x64\\', '')
 
 
 def dependencyCheck(level):
diff --git a/other/osx/Info.plist b/other/osx/Info.plist
index 0b4d894..4275e2d 100644
--- a/other/osx/Info.plist
+++ b/other/osx/Info.plist
@@ -55,7 +55,7 @@
 	<key>LSHasLocalizedDisplayName</key>
 	<false/>
 	<key>LSMinimumSystemVersion</key>
-	<string>10.9.0</string>
+	<string>10.10.0</string>
 	<key>NSAppleScriptEnabled</key>
 	<false/>
 	<key>NSHumanReadableCopyright</key>
diff --git a/setup.py b/setup.py
index fc03362..89c41a0 100755
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,7 @@ class BuildBinaryCommand(distutils.cmd.Command):
                 os.system('setup.bat ' + VERSION)
             exit(0)
         else:
-            os.system('pyinstaller -F -s kcc.py')
+            os.system('pyinstaller -y -F kcc.py')
             os.system('mkdir -p dist/usr/bin dist/usr/share/applications dist/usr/share/doc/kindlecomicconverter '
                       'dist/usr/share/kindlecomicconverter dist/usr/share/lintian/overrides')
             os.system('mv dist/kcc dist/usr/bin')