August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year, primarily targeted around Python 3 and ecosystem compatibility. PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)

Developers/Projects/KamaeliaPublish/HowToBuildExe

This page describes the process for changing the toolchain to use different scripts.  There are two important files that you may need to edit to alter this behavior:  zipheader.unix and scripts/Publish.prepare.sh.  To build an executable, you will need at minimum the following files from private_JMB_DescartesComponentsAdded/Apps/Kamaelia-Publish:

make-unix.sh

There is not currently any part of make-unix.sh that needs to be customized.

zipheader.unix

This file won't need to be changed if you have a module main with a main function in it (which is to be the main entry point to your application). Otherwise, these lines will need to be changed:

import main

main.main()

This is plain old python code, so you can put whatever you want here. My advice would be to have it import and run your main module.

scripts/publish.prepare.sh

This file is only responsible for moving all the files into the assembly directory.  Thus, all you really have to do is move all the files that you want built into the executable into the assembly directory.