[New-bugs-announce] [issue1299] distutils.sysconfig is not cross-platform compatible
Nick
report at bugs.python.org
Thu Oct 18 19:16:50 CEST 2007
New submission from Nick:
I'm using scons (www.scons.org) and Python's distutils.sysconfig to
determine the correct compiler flags automatically to embed Python into
my C++ application. I discovered that distuils.sysconfig is not fully
implemented on Windows. Using distutils.sysconfg.get_config_var() or
get_config_vars() does not work on the Windows distribution.
The above calls will return values for INCLUDEPY LIBDIR LIB on Ubuntu
Linux, however, on Windows, these variables are not all declared.
These variables should be declared on all platforms so one can
automatically get the correct compiler flags needed to embed python in
one's C/C++ project.
----------
components: Build
messages: 56533
nosy: weegreenblobbie
severity: normal
status: open
title: distutils.sysconfig is not cross-platform compatible
type: compile error
versions: Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1299>
__________________________________
More information about the New-bugs-announce
mailing list