If anyone wants to force either an ANSI build or a specific libmpdec configuration, setup.py recognizes this environment variable (example): export PYTHON_DECIMAL_WITH_MACHINE=ansi64 The supported configurations listed here: http://hg.python.org/cpython/file/07d9d2901adb/Modules/_decimal/README.txt Stefan Krah