Skip to main content

Cross Compile Python Extensions

Project description

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
use::
$ python setup.py build -x

To make a cross compiled egg::
$ python setup.py build -x bdist_egg --plat-name linux-ppc --exclude-source-files

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

distutilscross-0.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file distutilscross-0.1.tar.gz.

File metadata

File hashes

Hashes for distutilscross-0.1.tar.gz
Algorithm Hash digest
SHA256 4ed3fb427708c8a3ed5fe9c599532480f581078a1e0aec0e50f40eb58e9f0015
MD5 700801380a336a01925ad8409ad98c25
BLAKE2b-256 75a7ace23a4fc3a9e4471b10d37fe01780fe22ef63cf0be58f6a5e5833b7649b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page