Infinidat / relocatable-python

build system for building a portable python interpreter
24 stars 8 forks source link

Introduction

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

For Python 3.x, see relocatable-python3

Build environment

You'll need to have pip installed on the build environment.

For building on macOS, you'll need to install:

For Ubuntu, you'll need to install:

For Windows, you'll need to install: