makefile add windows build
This commit is contained in:
parent
629dbf6bd3
commit
5d02181c02
88
gui.spec
88
gui.spec
@ -1,44 +1,44 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(
|
a = Analysis(
|
||||||
['lib/gui.py'],
|
['lib\\gui.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[],
|
datas=[],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
hooksconfig={},
|
hooksconfig={},
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[],
|
||||||
noarchive=False,
|
noarchive=False,
|
||||||
optimize=0,
|
optimize=0,
|
||||||
)
|
)
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
exe = EXE(
|
exe = EXE(
|
||||||
pyz,
|
pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
[],
|
[],
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
name='gui',
|
name='gui',
|
||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
console=True,
|
console=True,
|
||||||
disable_windowed_traceback=False,
|
disable_windowed_traceback=False,
|
||||||
argv_emulation=False,
|
argv_emulation=False,
|
||||||
target_arch=None,
|
target_arch=None,
|
||||||
codesign_identity=None,
|
codesign_identity=None,
|
||||||
entitlements_file=None,
|
entitlements_file=None,
|
||||||
)
|
)
|
||||||
coll = COLLECT(
|
coll = COLLECT(
|
||||||
exe,
|
exe,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
a.datas,
|
a.datas,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
upx_exclude=[],
|
||||||
name='gui',
|
name='gui',
|
||||||
)
|
)
|
||||||
|
5
makefile
5
makefile
@ -1,7 +1,7 @@
|
|||||||
#Works but is fucking big
|
#Works but is fucking big
|
||||||
#Single file version:
|
#Single file version:
|
||||||
#pyinstaller lib/gui.py --onefile --add-data ./db/:./db
|
#pyinstaller lib/gui.py --onefile --add-data ./db/:./db
|
||||||
|
pypath := /home/ccppi2/.wine/drive_c/users/ccppi2/AppData/Local/Programs/Python/Python312/
|
||||||
all:gui cli datafiles
|
all:gui cli datafiles
|
||||||
|
|
||||||
gui:
|
gui:
|
||||||
@ -17,6 +17,7 @@ datafiles:
|
|||||||
cp ./lib/conf dist/gui/
|
cp ./lib/conf dist/gui/
|
||||||
db-dir:
|
db-dir:
|
||||||
mkdir -p dist/db
|
mkdir -p dist/db
|
||||||
|
wine-build:
|
||||||
|
wine64 $(pypath)/python.exe $(pypath)/Lib/site-packages/pyinstaller lib/gui.py
|
||||||
clean:
|
clean:
|
||||||
rm dist/db -r
|
rm dist/db -r
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
beautifulsoup4==4.12.3
|
beautifulsoup4==4.12.3
|
||||||
httplib2==0.22.0
|
httplib2==0.22.0
|
||||||
mmh3==4.1.0
|
mmh3==4.1.0
|
||||||
PySide6==6.7.1
|
#PySide6==6.7.1
|
||||||
PySide6==6.7.2
|
#PySide6==6.7.2
|
||||||
PySide6.egg==info
|
#PySide6.egg==info
|
||||||
PySide6_Addons==6.7.1
|
#PySide6_Addons==6.7.1
|
||||||
PySide6_Essentials==6.7.1
|
#PySide6_Essentials==6.7.1
|
||||||
Requests==2.32.3
|
Requests==2.32.3
|
||||||
|
Loading…
Reference in New Issue
Block a user