skip to navigation
skip to content

distutilscross 0.1

Cross Compile Python Extensions

Really it lets you cross build binary extensions.

You need to export PYTHONXCPREFIX and LDFLAGS, something like::
$ export PYTHONXCPREFIX=/opt/eldk/ppc_4xxFP/usr
$ export LDFLAGS="-L/opt/eldk/ppc_4xxFP/lib -L/opt/eldk/ppc_4xxFP/usr/lib"

It should pick up the correct include paths from the PYTHONXCPREFIX. To build
$ python build -x

To make a cross compiled egg::
$ python build -x bdist_egg --plat-name linux-ppc --exclude-source-files  
File Type Py Version Uploaded on Size
distutilscross-0.1.tar.gz (md5) Source 2009-10-15 2KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 132 downloads in the last week
  • 661 downloads in the last month