Skip to content

Infinidat/relocatable-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • Xcode command line tools
  • Homebrew
  • autoconf, automake, libtool, pkgconfig

For Ubuntu, you'll need to install:

  • build-essential

For Windows, you'll need to install:

  • Microsot Visual Studio 2008 (No SP)
  • Perl
  • Python