mirror of
https://github.com/marcelstoer/nodemcu-pyflasher.git
synced 2025-07-15 07:16:37 +00:00
Version bumps
This commit is contained in:
parent
2fbc40315d
commit
f22d7857a0
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.idea/
|
.idea/
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
@ -83,6 +84,7 @@ celerybeat-schedule
|
|||||||
# virtualenv
|
# virtualenv
|
||||||
venv/
|
venv/
|
||||||
ENV/
|
ENV/
|
||||||
|
.venv
|
||||||
|
|
||||||
# Spyder project settings
|
# Spyder project settings
|
||||||
.spyderproject
|
.spyderproject
|
||||||
|
2
Main.py
2
Main.py
@ -18,7 +18,7 @@ import locale
|
|||||||
# see https://discuss.wxpython.org/t/wxpython4-1-1-python3-8-locale-wxassertionerror/35168
|
# see https://discuss.wxpython.org/t/wxpython4-1-1-python3-8-locale-wxassertionerror/35168
|
||||||
locale.setlocale(locale.LC_ALL, 'C')
|
locale.setlocale(locale.LC_ALL, 'C')
|
||||||
|
|
||||||
__version__ = "5.0.0"
|
__version__ = "5.1.0"
|
||||||
__flash_help__ = '''
|
__flash_help__ = '''
|
||||||
<p>This setting is highly dependent on your device!<p>
|
<p>This setting is highly dependent on your device!<p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1,31 +1,51 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
block_cipher = None
|
|
||||||
|
|
||||||
a = Analysis(['nodemcu-pyflasher.py'],
|
a = Analysis(
|
||||||
binaries=None,
|
['nodemcu-pyflasher.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
datas=[("images", "images")],
|
datas=[("images", "images")],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
|
hooksconfig={},
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[],
|
||||||
win_no_prefer_redirects=False,
|
noarchive=False,
|
||||||
win_private_assemblies=False,
|
optimize=0,
|
||||||
cipher=block_cipher)
|
)
|
||||||
pyz = PYZ(a.pure, a.zipped_data,
|
pyz = PYZ(a.pure)
|
||||||
cipher=block_cipher)
|
|
||||||
exe = EXE(pyz,
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
a.binaries,
|
[],
|
||||||
a.zipfiles,
|
exclude_binaries=True,
|
||||||
a.datas,
|
|
||||||
name='NodeMCU PyFlasher',
|
name='NodeMCU PyFlasher',
|
||||||
debug=False,
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
console=False , icon='images/icon-256.icns')
|
console=False,
|
||||||
app = BUNDLE(exe,
|
disable_windowed_traceback=False,
|
||||||
|
argv_emulation=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
)
|
||||||
|
coll = COLLECT(
|
||||||
|
exe,
|
||||||
|
a.binaries,
|
||||||
|
a.datas,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
name='NodeMCU PyFlasher',
|
||||||
|
icon='images/icon-256.icns'
|
||||||
|
)
|
||||||
|
app = BUNDLE(
|
||||||
|
coll,
|
||||||
name='NodeMCU PyFlasher.app',
|
name='NodeMCU PyFlasher.app',
|
||||||
version='5.0.0',
|
version='5.1.0',
|
||||||
icon='./images/icon-256.icns',
|
icon='images/icon-256.icns',
|
||||||
bundle_identifier='com.frightanic.nodemcu-pyflasher')
|
bundle_identifier='com.frightanic.nodemcu-pyflasher')
|
||||||
|
@ -1,28 +1,40 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
block_cipher = None
|
|
||||||
|
|
||||||
a = Analysis(['nodemcu-pyflasher.py'],
|
a = Analysis(
|
||||||
|
['nodemcu-pyflasher.py'],
|
||||||
|
pathex=[],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[("images", "images")],
|
datas=[("images", "images")],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
|
hooksconfig={},
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[],
|
||||||
win_no_prefer_redirects=False,
|
noarchive=False,
|
||||||
win_private_assemblies=False,
|
optimize=0,
|
||||||
cipher=block_cipher)
|
)
|
||||||
pyz = PYZ(a.pure, a.zipped_data,
|
pyz = PYZ(a.pure)
|
||||||
cipher=block_cipher)
|
|
||||||
exe = EXE(pyz,
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
a.zipfiles,
|
|
||||||
a.datas,
|
a.datas,
|
||||||
|
[],
|
||||||
name='NodeMCU-PyFlasher',
|
name='NodeMCU-PyFlasher',
|
||||||
version='windows-version-info.txt',
|
version='windows-version-info.txt',
|
||||||
debug=False,
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
console=False,
|
console=False,
|
||||||
icon='images\\icon-256.ico')
|
icon='images\\icon-256.ico',
|
||||||
|
disable_windowed_traceback=False,
|
||||||
|
argv_emulation=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
)
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
pyinstaller --log-level=DEBUG ^
|
pyinstaller --log-level=DEBUG ^
|
||||||
--noconfirm ^
|
--noconfirm ^
|
||||||
--windowed ^
|
|
||||||
build-on-win.spec
|
build-on-win.spec
|
||||||
|
3
build.sh
3
build.sh
@ -1,12 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# rm -fr build dist
|
# rm -fr build dist
|
||||||
VERSION=5.0.0
|
VERSION=5.1.0
|
||||||
NAME="NodeMCU PyFlasher"
|
NAME="NodeMCU PyFlasher"
|
||||||
DIST_NAME="NodeMCU-PyFlasher"
|
DIST_NAME="NodeMCU-PyFlasher"
|
||||||
|
|
||||||
pyinstaller --log-level=DEBUG \
|
pyinstaller --log-level=DEBUG \
|
||||||
--noconfirm \
|
--noconfirm \
|
||||||
--windowed \
|
|
||||||
build-on-mac.spec
|
build-on-mac.spec
|
||||||
|
|
||||||
# https://github.com/sindresorhus/create-dmg
|
# https://github.com/sindresorhus/create-dmg
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
esptool>=3.0
|
# Can't use v4 atm, see https://github.com/marcelstoer/nodemcu-pyflasher/issues/105
|
||||||
|
esptool==3.3.3
|
||||||
pyserial~=3.5
|
pyserial~=3.5
|
||||||
wxPython~=4.1.1
|
# https://github.com/wxWidgets/Phoenix/issues/2499 prevents the use of 4.2.1.
|
||||||
PyInstaller~=4.8
|
# 4.2.0 requires Python <=3.10 apparently.
|
||||||
|
wxPython==4.2.0
|
||||||
|
PyInstaller==6.9.0
|
||||||
httplib2>=0.18.1
|
httplib2>=0.18.1
|
||||||
pyinstaller-versionfile>=2.0.0
|
pyinstaller-versionfile>=2.0.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# https://github.com/DudeNr33/pyinstaller-versionfile
|
# https://github.com/DudeNr33/pyinstaller-versionfile
|
||||||
# create-version-file windows-metadata.yaml --outfile windows-version-info.txt
|
# create-version-file windows-metadata.yaml --outfile windows-version-info.txt
|
||||||
Version: 5.0.0
|
Version: 5.1.0
|
||||||
CompanyName: Marcel Stör
|
CompanyName: Marcel Stör
|
||||||
FileDescription: NodeMCU PyFlasher
|
FileDescription: NodeMCU PyFlasher
|
||||||
InternalName: NodeMCU PyFlasher
|
InternalName: NodeMCU PyFlasher
|
||||||
|
@ -9,8 +9,8 @@ VSVersionInfo(
|
|||||||
ffi=FixedFileInfo(
|
ffi=FixedFileInfo(
|
||||||
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
|
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
|
||||||
# Set not needed items to zero 0. Must always contain 4 elements.
|
# Set not needed items to zero 0. Must always contain 4 elements.
|
||||||
filevers=(5,0,0,0),
|
filevers=(5,1,0,0),
|
||||||
prodvers=(5,0,0,0),
|
prodvers=(5,1,0,0),
|
||||||
# Contains a bitmask that specifies the valid bits 'flags'r
|
# Contains a bitmask that specifies the valid bits 'flags'r
|
||||||
mask=0x3f,
|
mask=0x3f,
|
||||||
# Contains a bitmask that specifies the Boolean attributes of the file.
|
# Contains a bitmask that specifies the Boolean attributes of the file.
|
||||||
@ -34,12 +34,12 @@ VSVersionInfo(
|
|||||||
u'040904B0',
|
u'040904B0',
|
||||||
[StringStruct(u'CompanyName', u'Marcel Stör'),
|
[StringStruct(u'CompanyName', u'Marcel Stör'),
|
||||||
StringStruct(u'FileDescription', u'NodeMCU PyFlasher'),
|
StringStruct(u'FileDescription', u'NodeMCU PyFlasher'),
|
||||||
StringStruct(u'FileVersion', u'5.0.0.0'),
|
StringStruct(u'FileVersion', u'5.1.0.0'),
|
||||||
StringStruct(u'InternalName', u'NodeMCU PyFlasher'),
|
StringStruct(u'InternalName', u'NodeMCU PyFlasher'),
|
||||||
StringStruct(u'LegalCopyright', u'© Marcel Stör. All rights reserved.'),
|
StringStruct(u'LegalCopyright', u'© Marcel Stör. All rights reserved.'),
|
||||||
StringStruct(u'OriginalFilename', u'NodeMCU-PyFlasher.exe'),
|
StringStruct(u'OriginalFilename', u'NodeMCU-PyFlasher.exe'),
|
||||||
StringStruct(u'ProductName', u'NodeMCU PyFlasher'),
|
StringStruct(u'ProductName', u'NodeMCU PyFlasher'),
|
||||||
StringStruct(u'ProductVersion', u'5.0.0.0')])
|
StringStruct(u'ProductVersion', u'5.1.0.0')])
|
||||||
]),
|
]),
|
||||||
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
|
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user