I've downloaded the python 3.6.6 source from here... https://www.python.org/downloads/release/python-366/ ...and followed the instruction on how to build on Windows (run ../PCbuild/build.bat). Python compiles and seems to be working (funny and scary: while fetching externals, it actually downloads python-3.7.0 as a dependency... :/ ). However, it looks like the build is somehow 'in place', and the binaries end up in some sub-folder of the source (../PCbuild/amd64/python.exe). This means I'm left with source and compiled code mixed up instead of some clean/lean and deployable package.
- can I somehow provide '
--prefix=/target/build/path' to define a target location to build to, like I would on linux? - is there a way of removing all src files/folders and leave only the required files/folders (../lib, ../include, etc...).
Or in general, is there a way of making the build process more behave like on linux?
Thanks for your help, Max
--prefix=/target/build/pathis false,--prefix=/target/INSTALL/path. "and the binaries end up in some sub-folder of the source": same thing happens on every platform.