I've been trying out different tricks, and I think I could do with some direction.
The problem statement is this:
I have a large (~150 python files) multi-package python tree with a directory structure where some of the files share the same name, i.e dirA/file.py & dirB/file.py that needs to get distributed. Ideally, I'd like it to be a big fat ELF binary with all the modules compiled in.
I tried doing this with cython_freeze, but unfortunately, cython_freeze doesn't seem to work well with directory structures, and results in symbol conflicts due to init_module creation that completely does away with the directory names, and uses the python file names only. Since there are multiple cross-imports everywhere, this would result in a large scale change across multiple files that I'd like to avoid.
Few questions:
(a) What's the best tool to generate the main entry point [i.e. like cython --embed & cython_freeze]
(b) What's the fastest path to get to an ELF binary with minimal surprises? [I can do a bunch of shared objects, if that's the mostly used method]
Thanks
Topi