Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsojramos committed Dec 24, 2021
1 parent b37b253 commit e0cb0a7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
2 changes: 2 additions & 0 deletions compile.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#pyinstaller --clean discrakt.py
pyinstaller .\discrakt.spec
26 changes: 18 additions & 8 deletions discrakt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ block_cipher = None


a = Analysis(['discrakt.py'],
pathex=['C:\\Users\\Afonso\\GitHub\\discrakt'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
Expand All @@ -18,20 +19,29 @@ a = Analysis(['discrakt.py'],
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)

exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
a.scripts,
[],
exclude_binaries=True,
name='discrakt',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False )
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='discrakt')

import shutil
shutil.copyfile('credentials.ini', '{0}/credentials.ini'.format(DISTPATH))
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pyinstaller==4.3
pyinstaller-hooks-contrib==2021.1
pypresence==4.2.0
python-dateutil==2.8.1
pyinstaller==4.7
pyinstaller-hooks-contrib==2021.4
pypresence==4.2.1
python-dateutil==2.8.2
#pywin32==300
#pywin32-ctypes==0.2.0

0 comments on commit e0cb0a7

Please sign in to comment.