This project builds a portable Python interpreter, along with all the shared libraries it depends on. The build system itself is written in Python, based on zc.buildout and some recipes.
The sources are downloaded from the Internet, stored locally and then built.
The current supported platforms are: Linux, macOS, Windows, Solaris and AIX.
In order to build python, execute:
make
Or, for Windows:
nmake -f Makefile.win
Once the build is over:
otool -L dist/bin/python3
make test
(Note that the Makefile will use the right python executable whether we're on Windows or not)You'll need to have pip installed on the build environment.
For building on macOS, you'll need to install:
brew install automake autoconf libtool
For Ubuntu, you'll need to install:
For Windows, you'll need to install: