Skip to content

Commit

Permalink
Removed Spec files from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Guhan-SenSam committed Dec 31, 2023
1 parent 6a5d8a5 commit faf7caa
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ wheels/
# 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

# Installer logs
pip-log.txt
Expand Down
61 changes: 61 additions & 0 deletions linux.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# -*- mode: python ; coding: utf-8 -*-

from kivymd import hooks_path as kivymd_hooks_path

block_cipher = None


a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[
("./backend/*.py", "backend"),a
("./ui/accountselectscreen/*.*", "ui/accountselectscreen"),
("./ui/assets/*.png", "ui/assets"),
("./ui/components/*.py", "ui/components"),
("./ui/components/message_components/*.py", "ui/components/message_components"),
("./ui/messagescreen/*.*", "ui/messagescreen"),
("./ui/welcomescreen/*.*", "ui/welcomescreen"),
("./ui/progressscreen/*.*", "ui/progressscreen"),
],
hiddenimports=[],
hookspath=[kivymd_hooks_path],
hooksconfig={},
runtime_hooks=[],
excludes=[],
cipher=block_cipher,
noarchive=False,
)

splash = Splash(
"ui/assets/Splash Screen.png",
binaries=a.binaries,
datas=a.datas,
)


pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
splash,
splash.binaries,
a.binaries,
a.datas,
name='MR.DM',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon="ui/assets/icon.png"
)
63 changes: 63 additions & 0 deletions windows.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# -*- mode: python ; coding: utf-8 -*-

from kivymd import hooks_path as kivymd_hooks_path
from kivy_deps import sdl2, glew

block_cipher = None


a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[
("./backend/*.py", "backend"),
("./ui/accountselectscreen/*.*", "ui\\accountselectscreen"),
("./ui/assets/*.png", "ui\\assets"),
("./ui/components/*.py", "ui\\components"),
("./ui/components/message_components/*.py", "ui\\components\\message_components"),
("./ui/messagescreen/*.*", "ui\\messagescreen"),
("./ui/welcomescreen/*.*", "ui\\welcomescreen"),
("./ui/progressscreen/*.*", "ui\\progressscreen"),
],
hiddenimports=[],
hookspath=[kivymd_hooks_path],
hooksconfig={},
runtime_hooks=[],
excludes=[],
cipher=block_cipher,
noarchive=False,
)

splash = Splash(
"ui/assets/Splash Screen.png",
binaries=a.binaries,
datas=a.datas,
)


pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
splash,
splash.binaries,
a.binaries,
a.datas,
*[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],
name='MR.DM',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon="ui/assets/icon.png"
)

0 comments on commit faf7caa

Please sign in to comment.