[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Re: gr_python.m4
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Re: gr_python.m4 |
Date: |
Mon, 11 Jul 2005 08:14:51 -0700 |
User-agent: |
Mutt/1.5.6i |
On Mon, Jul 11, 2005 at 06:26:51AM +0200, Martin Dvh wrote:
> Eric Blossom wrote:
> >On Mon, Jul 11, 2005 at 01:38:43AM +0200, Stephane Fillod wrote:
> >
> >>>I checked in a new version of gr_python.m4 that uses distutils to
> >>>determine the include path for Python.h. I tested it on GNU/Linx and
> >>>OS/X and it works there.
> >>
> >>It's not going to work for any cross-dev setup (eg. mingw under Linux)
> >>because it's trying to run the xdev python:
> >>
> >> # ask distutils which include path we should use
> >> python_path=`$PYTHON -c "import distutils.sysconfig; \
> >> print
> >> distutils.sysconfig.get_python_inc(plat_specific=False)"`
> I ran this line on my windows/mingw setup.
> I got:
> d:\Python24\include
> I haven't checked if this works for building.
> (I normally use the forward slash format for everything which would be
> /d/python24/include )
OK.
Running python on windows, can you please send me the output of this:
$ python
>>> import distutils.sysconfig
>>> print distutils.sysconfig.get_python_inc(plat_specific=False)
With any luck it's d:\Python24\include and my patch patch should work.
Thanks!
Eric