Skip to content

Commit

Permalink
Update Pyinstaller spec
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg committed Sep 1, 2024
1 parent 462a288 commit e5457d4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MANIFEST
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# *.spec

# Installer logs
pip-log.txt
Expand Down
10 changes: 7 additions & 3 deletions trollstore.spec → TrollRestore.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import copy_metadata

datas = []
datas += copy_metadata('readchar')


block_cipher = None
Expand All @@ -8,8 +12,8 @@ a = Analysis(
['trollstore.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
datas=datas,
hiddenimports=['zeroconf', 'zeroconf._utils.ipaddress', 'zeroconf._handlers.answers'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
Expand All @@ -28,7 +32,7 @@ exe = EXE(
a.zipfiles,
a.datas,
[],
name='trollstore',
name='TrollRestore',
debug=False,
bootloader_ignore_signals=False,
strip=False,
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pymobiledevice3
bpylist2
rich
requests
click

0 comments on commit e5457d4

Please sign in to comment.