Skip to content

Commit

Permalink
Build to .app and .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
LegeBeker committed Mar 11, 2022
1 parent a3c13c1 commit 5e9cc37
Show file tree
Hide file tree
Showing 250 changed files with 31,591 additions and 16,743 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file removed All Dutch Zipcode Finder
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>All Dutch Zipcode Finder</string>
<key>CFBundleIconFile</key>
<string>icon-windowed.icns</string>
<string>favicon.icns</string>
<key>CFBundleIdentifier</key>
<string>All Dutch Zipcode Finder</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand Down
Binary file not shown.
Binary file not shown.
128 changes: 128 additions & 0 deletions All Dutch Zipcode Finder.app/Contents/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Resources/favicon.icns</key>
<data>
ADiGKoEtNE4gNPnJ6raDGDRDarQ=
</data>
</dict>
<key>files2</key>
<dict>
<key>Resources/favicon.icns</key>
<dict>
<key>hash2</key>
<data>
UgjUe8mZ98vyaj/O3grL6H68GWznFX6VSELfqgkVzB0=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
Binary file added All Dutch Zipcode Finder.exe
Binary file not shown.
Binary file removed All Dutch Zipcode Finder.lnk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,24 @@ pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)

exe = EXE(pyz,
a.scripts,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
exclude_binaries=True,
name='All Dutch Zipcode Finder',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='All Dutch Zipcode Finder')
app = BUNDLE(coll,
app = BUNDLE(exe,
name='All Dutch Zipcode Finder.app',
icon=None,
bundle_identifier=None)
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def digitCheck(start, end):
return check

def generateFile(start, end):
home = str(Path.home())
path_check = 0

i1 = 0
Expand Down Expand Up @@ -94,6 +93,8 @@ def generateFile(start, end):

same.discard('\n')

home = str(Path.home())

output = os.path.join(
home, "Desktop/zipcode_output_" + str(start) + "+" + str(end) + ".txt")

Expand All @@ -120,8 +121,8 @@ def generateFile(start, end):
root = tk.Tk()

root.title("All Dutch Zipcode Finder")
root.tk.call('wm', 'iconphoto', root._w,
tk.PhotoImage(file='Icons/favicon.ico'))
# root.tk.call('wm', 'iconphoto', root._w,
# tk.PhotoImage(file='/Icons/favicon.ico'))

canvas1 = tk.Canvas(root, width=400, height=0)
canvas1.pack()
Expand All @@ -138,7 +139,7 @@ def generateFile(start, end):
end_box.pack()

tk.Button(text='submit', command=Functions.submit).pack()
message_value = tk.Label(text="", fg='red', font=('helvetica', 12, 'bold'))
message_value = tk.Label(text="", fg='red')
message_value.pack()

canvas1.mainloop()
28 changes: 14 additions & 14 deletions ScriptZipcode.spec → _MACOS/All Dutch Zipcode Finder.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
block_cipher = None


a = Analysis(['ScriptZipcode.py'],
a = Analysis(['All Dutch Zipcode Finder.py'],
pathex=[],
binaries=[],
datas=[],
Expand All @@ -21,24 +21,24 @@ pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)

exe = EXE(pyz,
a.scripts,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
exclude_binaries=True,
name='ScriptZipcode',
name='All Dutch Zipcode Finder',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='ScriptZipcode')
entitlements_file=None , icon='icons/favicon.icns')
app = BUNDLE(exe,
name='All Dutch Zipcode Finder.app',
icon='icons/favicon.icns',
bundle_identifier=None)
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 5e9cc37

Please sign in to comment.