Hi Hans-Joerg,
I managed to adapt Jack for auto-starting packages that contain a python install process with surprising ease.
I used Timberwolf as a basis for this as is the only package on OS4Depot that I can find that uses the Installation Utility (!)
The detection is simple every python package should be set out like this as a bare minimum - tbh basic stuff:
Install YourApp/ (outer drawer)
Install YourApp/Install YourApp.info (project icon that calls SYS:Utilities/Installation Utility)
Install YourApp/install.py (your working python script)
Install YourApp/installer-logo.png (your logo as referenced in the project icon's tooltypes, 640x86 pixels)
Additionally the name attribute of the AddPackage command set in install.py must match the filename.
Eg.
Code: Select all
noarchPack = AddPackage (FILEPACKAGE,
name = "YourApp", /* AND YES ON THE LINE BELOW THE ADDPACKAGE COMMAND */
description = "YourApp Installation Files",
files = ["YourApp_files/"],
optional = False
)
I hope I have correctly assumed that every python installation script requires that the AppPackage command is used?
And that's it really, no heavy requirements.