Displaying 7 results from an estimated 7 matches for "get_python_inc".
2013 May 16
3
[PATCH] Use pkg-config for Python
...ION_MINOR"
AC_MSG_RESULT([$PYTHON_VERSION])
-
- AC_MSG_CHECKING([for Python include path])
- if test -z "$PYTHON_INCLUDEDIR"; then
- python_path=`$PYTHON -c "import distutils.sysconfig; \
- print (distutils.sysconfig.get_python_inc ());"`
- PYTHON_INCLUDEDIR=$python_path
- fi
- AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
+ # Debian: python-2.7.pc, python-3.2.pc
+ PKG_CHECK_MODULES([PYTHON], [python-"$PYTHON_VERSION"],[
+ AC_SUBST([PYTHON_CFLAGS])
+ AC_SUBST([...
2013 May 23
3
hivex: Improvents in building Python bindings
Building against multiple versions of Python is a lot of fun as it is.
Add autoconf/automake/libtool (and possible distribution-specific
stuff) to the mix and things get really interesting:
On Debian and Ubuntu, building against python 3.3 requires an extra
include path as documented in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692387>.
As discussed in
2013 Jun 16
0
Re: [PATCH] Use pkg-config for Python
...RESULT([$PYTHON_VERSION])
> -
> - AC_MSG_CHECKING([for Python include path])
> - if test -z "$PYTHON_INCLUDEDIR"; then
> - python_path=`$PYTHON -c "import distutils.sysconfig; \
> - print (distutils.sysconfig.get_python_inc ());"`
> - PYTHON_INCLUDEDIR=$python_path
> - fi
> - AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
> + # Debian: python-2.7.pc, python-3.2.pc
> + PKG_CHECK_MODULES([PYTHON], [python-"$PYTHON_VERSION"],[
> + AC_SUBST([PYTHON_CF...
2013 Jun 17
1
Re: [PATCH] Use pkg-config for Python
On Mon, Jun 17, 2013 at 10:08:46AM +0200, Olaf Hering wrote:
> On Mon, Jun 17, Richard W.M. Jones wrote:
>
> > On Sun, Jun 16, 2013 at 02:55:29PM +0200, Olaf Hering wrote:
> > > For me current 1.20 branch fails to build python in SLE11.
> >
> > Does SuSE's python have a pkg-config file?
>
> SLE11 does not have it, but openSUSE 11.4+ has it.
> I
2013 Jun 17
2
Re: [PATCH] Use pkg-config for Python
...> > -
> > - AC_MSG_CHECKING([for Python include path])
> > - if test -z "$PYTHON_INCLUDEDIR"; then
> > - python_path=`$PYTHON -c "import distutils.sysconfig; \
> > - print (distutils.sysconfig.get_python_inc ());"`
> > - PYTHON_INCLUDEDIR=$python_path
> > - fi
> > - AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
> > + # Debian: python-2.7.pc, python-3.2.pc
> > + PKG_CHECK_MODULES([PYTHON], [python-"$PYTHON_VERSION"],[
> > +...
2011 May 03
2
[PATCH] [hivex] Use Python's distutils to determine include and site-packages directories.
...;; then
- AC_MSG_WARN([Python include directory not found])
+
+ AC_MSG_CHECKING([for Python include path])
+ if test -z "$PYTHON_INCLUDEDIR"; then
+ python_path=`$PYTHON -c "import distutils.sysconfig; \
+ print (distutils.sysconfig.get_python_inc ());"`
+ PYTHON_INCLUDEDIR=$python_path
fi
+ AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
- for d in \
- $PYTHON_PREFIX/lib64/python$PYTHON_VERSION/site-packages \
- $PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages \
- /usr/lib64/python$PYTHON_VERSION/site...
2016 Mar 07
2
Windows port
Hi!
I would like to ask about current state of Windows port. Is it frozen? It will be cool to know the plans :)
Where are a lot of Windows-branches at GitHub. What is the most actual one?
The Windows builder looks like turned off, am I right that it is not available currently and where were no builds after version 2.6.5-6?
I couldn't find any info about proper environment to build Windows