Developers/Projects/KamaeliaPublish/HowToBuildExeThis 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.shThere is not currently any part of make-unix.sh that needs to be customized.
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 mainThis 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.shThis 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.
This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)
(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved