From 40d1ae63da22d4dc35e126905e43615aab92b996 Mon Sep 17 00:00:00 2001 From: Paweł Jastrzębski Date: Sun, 20 Aug 2017 17:10:28 +0200 Subject: Tweaked build process --- kindlecomicconverter/shared.py | 14 ++++++++------ other/osx/Info.plist | 2 +- setup.py | 2 +- 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 @@ LSHasLocalizedDisplayName LSMinimumSystemVersion - 10.9.0 + 10.10.0 NSAppleScriptEnabled NSHumanReadableCopyright 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') -- cgit 1.4.1