Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Start work on Windows build |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
880834e829f56516d14186155ae2f7c3 |
User & Date: | kevin 2020-02-13 14:15:46 |
Context
2020-02-20
| ||
03:39 | Tweaks for Windows check-in: 04686e16f0 user: kevin tags: trunk | |
2020-02-13
| ||
14:15 | Start work on Windows build check-in: 880834e829 user: kevin tags: trunk | |
13:52 | Add setup check-in: 81089f5364 user: kevin tags: trunk | |
Changes
Changes to setup.py.
1 2 3 | from cx_Freeze import setup, Executable import os.path import shutil | > | > | > > > > > > | > > > > > > > > > | > | | | | | | | | < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | from cx_Freeze import setup, Executable import os.path import shutil import sys base = None if sys.platform == 'win32': base = "Win32GUI" if sys.platform == 'darwin': icon = None base = None include_files = [('/Library/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts', 'tcl8.6'), ('/Library/Frameworks/Tk.framework/Versions/8.6/Resources/Scripts', 'tk8.6'), ] if sys.platform == 'win32': icon = 'quickwh.ico' os.environ['TCL_LIBRARY'] = 'c:/python36/tcl/tcl8.6' os.environ['TK_LIBRARY'] = 'c:/python36/tcl/tk8.6' include_files=['c:/python36/DLLs/tcl86t.dll', 'c:/python36/DLLs/tk86t.dll'] setup( name='QuickWho', verson = '7.0.0', description = 'Whois client', options={ 'build_exe': {'include_files': include_files}, 'bdist_mac': {'bundle_name': 'QuickWho', 'iconfile': 'QuickWho.icns'} }, executables=[Executable('QuickWho.py', base=base, icon=icon)] ) if sys.platform == 'darwin': tcl_src='/Users/kevin/Programming/QuickWho/build/QuickWho.app/Contents/MacOS/tcl8.6' tcl_dest='/Users/kevin/Programming/QuickWho/build/QuickWho.app/Contents/lib/tcl8.6' tk_src='/Users/kevin/Programming/QuickWho/build/QuickWho.app/Contents/MacOS/tk8.6' tk_dest='/Users/kevin/Programming/QuickWho/build/QuickWho.app/Contents/lib/tk8.6' tcl_copy = shutil.copytree(tcl_src, tcl_dest) tk_copy = shutil.copytree(tk_src, tk_dest) shutil.rmtree(tcl_src) shutil.rmtree(tk_src) |