Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zhmc command as an executable file #580

Open
andy-maier opened this issue Feb 13, 2024 · 0 comments · May be fixed by #698
Open

zhmc command as an executable file #580

andy-maier opened this issue Feb 13, 2024 · 0 comments · May be fixed by #698

Comments

@andy-maier
Copy link
Member

andy-maier commented Feb 13, 2024

Provide some reasonable way to generate an executable file for the "zhmc" command, that can run directly in the operating system as a process.

Requirements:

  • The approach must work for any HW and OS platform where Python is supported
  • The result must be a single executable file (not a subdirectory with files)
  • The executable file must behave like the current "zhmc" command
  • The executable file must behave like a compiled executable in every aspect (e.g. run as a process without requiring a shell, run in a shell as a command, registered in a desktop as a command for file types, specifically it must not require a Python executable)
  • The executable file must be built by the user from the Python distribution on Pypi (without requiring a repo clone)
  • The build process for the executable file must be reasonably simple (because it is performed by the user)

Tools that create a binary by packaging Python runtime, the Python script and its dependent Python packages:

Tool comparisons:

Tools that compile Python into true binary code:

  • Cython
@andy-maier andy-maier self-assigned this Feb 13, 2024
@andy-maier andy-maier changed the title zhmccli as a binary executable zhmc command a an executable file Feb 13, 2024
@andy-maier andy-maier changed the title zhmc command a an executable file zhmc command as an executable file Feb 13, 2024
@andy-maier andy-maier added this to the 1.11.0 milestone Feb 13, 2024
@andy-maier andy-maier modified the milestones: 1.11.0, 1.12.0, 1.13.0 May 18, 2024
@andy-maier andy-maier modified the milestones: 1.12.0, 1.13.0 Sep 29, 2024
@andy-maier andy-maier linked a pull request Jan 31, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant