11 lines
421 B
Python
11 lines
421 B
Python
from auto_py_to_exe import __main__ as apte
|
|
import pyinstaller_versionfile
|
|
|
|
if __name__ == '__main__':
|
|
pyinstaller_versionfile.create_versionfile_from_input_file(
|
|
output_file="versionfile.txt",
|
|
input_file="metadata.yml",
|
|
#version="1.2.3.4" # optional, can be set to overwrite version information (equivalent to --version when using the CLI)
|
|
)
|
|
apte.__name__ = '__main__'
|
|
apte.run() |