Open andreabz opened 1 month ago
@andreabz I'll need more info. Can you elaborate more about what you want!
Sorry for being not clear, I'll try again! I'd like if your GitHub actions would support the pyinstaller --version-file option described here.
This option automatically includes the information provided in a predefined file, usually - or at least in my case - obtained by using pyinstaller-versionfile on a yml file, and makes them visible in the Windows property pane of the app.
I find this option useful to know in advance the name, description and version of the application I'm going to run, or to easily provide context for bugs reported by other users.
Thanks.
@andreabz Test with version-file
branch, and report back if it's working or not.
uses: sayyid5416/pyinstaller@version-file
@andreabz Test with
version-file
branch, and report back if it's working or not.uses: sayyid5416/pyinstaller@version-file
Thanks. However, running this Action
` name: Python Pyinstaller
on: push: branches: [ "main" ] pull_request: branches: [ "main" ]
jobs: pyinstaller-build: runs-on: [ windows-latest ] steps:
name: Create Executable uses: sayyid5416/pyinstaller@version-file with: python_ver: '3.6' pyinstaller_ver: '==5.13.2' spec: 'myapp.spec' requirements: 'requirements.txt' upload_exe_with_name: 'myapp' options: --onefile, --name "myapp", --windowed, --version-file "file_version_info.txt" `
I got this error:
Run python "D:\a\_actions\sayyid5416\pyinstaller\version-file/src/checks.py" Traceback (most recent call last): File "D:\a\_actions\sayyid5416\pyinstaller\version-file/src/checks.py", line 1, in <module> from actions import * File "D:\a\_actions\sayyid5416\pyinstaller\version-file\src\actions.py", line 2, in <module> from typing import Literal ImportError: cannot import name 'Literal'
Shouldn't be dependencies installed and included in the Action itself?
You are using python version 3.6, try to increase it
@andreabz Have this worked for you?
Currently, --version-file is not listed in the pyinstaller options supported by this GitHub Action. Is this going to change?