Quote:Original post by implicit
Can I extract the interpreter and whatever libraries are necessary from the Python distribution, such that they can be packaged up with everything else needed to compile the project in a tidy little archive?
Think about this for a second. Build system is just a script of sorts. It relies on everything else, obscure things you consider, um, ... implicit. Such as configuration for ld so it works with that distribution's elf. GNU make does this first time it runs, and this is what those hundreds of "checking for..., has a ...., ...." messages are. They are combined 30 years of hard work and real world experience on what all goes on just on common distributions.
The reason makefile is such a mess is because it needs to install and configure actual tools. You cannot package everything unless you make a bootable Linux distro on a CD or USB. Then there's licensing restrictions, you cannot distribute MVS and DX or even debug runtimes.
It's not the make tool, it's the execution environment which includes the OS itself.
On Linux, things are fairly easy, use apt. On Windows, you'll need to write a list on how to download, install and patch all the actual tools you use (you cannot distribute most of them, nor automate them) + a zip file that does your own stuff.