You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a Python frozen module (for example building an executable with PyInstaller), by default the builder only includes the Python bytecodes. So only that bytecodes are available when the module is imported at runtime.
But the JumpSSH package unconditionally reads the package.json file at runtime, just to get the package version.
For this reason JumpSSH can never be used as-is in a frozen Python executable. It requires to dive into the frozen applications builder and create specific hooks to include all JumpSSH files.
It would be a great help if the package simply specifies the version value in the code, so no data files are needed at runtime: __version__ = "1.6.4"
Thanks in advance. And thanks for your good work.
The text was updated successfully, but these errors were encountered:
When using a Python frozen module (for example building an executable with PyInstaller), by default the builder only includes the Python bytecodes. So only that bytecodes are available when the module is imported at runtime.
But the JumpSSH package unconditionally reads the
package.json
file at runtime, just to get the package version.For this reason JumpSSH can never be used as-is in a frozen Python executable. It requires to dive into the frozen applications builder and create specific hooks to include all JumpSSH files.
It would be a great help if the package simply specifies the version value in the code, so no data files are needed at runtime:
__version__ = "1.6.4"
Thanks in advance. And thanks for your good work.
The text was updated successfully, but these errors were encountered: