[Chicago] how CONFIG_ARGS get compiled into sysconfig ?

shangyu yushang at outlook.com
Mon Jul 15 02:26:42 CEST 2013


I'm just trying to use setup.py to build the extension module and got the error.

> Date: Sun, 14 Jul 2013 18:31:47 -0500
> From: brian at python.org
> To: chicago at python.org
> Subject: Re: [Chicago] how CONFIG_ARGS get compiled into sysconfig ?
> 
> On Sun, Jul 14, 2013 at 5:57 AM, shangyu <yushang at outlook.com> wrote:
> > Hi dear all,
> > I'm trying to use setup.py in Python source code recently and find there is
> > a line which read the CONFIG_ARGS from sysconfig :
> > COMPILED_WITH_PYDEBUG = ('--with-pydebug' in
> > sysconfig.get_config_var("CONFIG_ARGS"))
> > this line will always fail because sysconfig do not provide this variable .
> > What's wrong with this ?
> > BTW I'm trying setup.py on Windows platform
> > Many thanks!
> 
> I believe sysconfig works with the configure script at build-time, but
> the Windows build doesn't use anything like that. A debug version of
> Python on Windows would be selected manually inside of Visual Studio,
> so I'm not sure if you can get the information you want in that way,
> at least currently.
> 
> What is the exact issue you're trying to figure out?
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20130715/776a0cac/attachment.html>


More information about the Chicago mailing list