Thorough Python 2.7.3 Windows Build Documentation?
Arah.Leonard at bruker-axs.com
Thu Jan 17 19:25:06 CET 2013
>Try dumping the build configuration parameters:
> >>> import pprint, sysconfig
> >>> pprint.pprint(sysconfig.get_config_vars())
>Then you can compare the existing version with yours.
I would absolutely love to be able to do that and have it work. Most unfortunately that only works on *nix OSes. The Python sysconfig module's config vars are almost non-existent on Windows with a really tiny and almost useless subset. :( I really wish someone would fix that, but hey, it's free so I'm not complaining. Just wishing. In case anyone else didn't know that, here's the results containing the complete and total list of config vars on Windows:
>>> import pprint, sysconfig
'userbase': 'C:\\Documents and Settings\\Administrator\\Application Data\\Python'}
That's it. It's actually also a common cause of problems in distutils and the likes when people write their module installers for Linux and never test those scriptlets on Windows, not realizing that in Python on Windows the sysconfig / distutils.sysconfig config vars are hamstrung like that.
More information about the Python-list