File: pyedit-products/unzipped/build/build-app-exe/build4.0/_winver-maker.py

# use a tool installed with pip3 to create a gawdawful Windows version file
# run first to install if needed: pip3 install pyinstaller_versionfile
# just to set the version number in the exe, and just for Windows
# really - this feels like corporate dysfunction getting on you...
# though it's not clear why pyinstaller didn't simplify this either...

import pyinstaller_versionfile

pyinstaller_versionfile.create_versionfile(
    output_file='_winver.txt',
    version='4.0.0',
    company_name='learning-python.com',

    # don't use long form: shows up in "Open With" menu where it seems cheeky
    #file_description='PyEdit: Edit Text. Run Code. Have Fun.',
    file_description='PyEdit',

    internal_name='PyEdit',
    legal_copyright='Copyright © 2000-2024 M. Lutz, all rights reserved.',
    original_filename='PyEdit.exe',
    product_name='PyEdit',
    translations=[0, 1200]
)



[Home page] Books Code Blog Python Author Train Find ©M.Lutz