[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: make check-ctypes-python fails when executed from non src build direction

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 03 Nov 2010 17:38:53 +0000

On Mon, 2010-11-01 at 13:29 -0400, Greg Stein wrote:
> On Mon, Nov 1, 2010 at 13:22, Jeremy Whitlock <jcscoobyrs_at_gmail.com> wrote:
> >...
> >>> subversion/bindings/ctypes-python/README still refers to setup.py.
> >>
> >> I think this is for those who are not using --with-ctypesgen option
> >> while running configure script. Also this might work on Windows where
> >> configure coupled with "make ctypes-python" might not.
> >
> >
> > That is not true. setup.py is used to compile and clean the ctype-based Python bindings.
>
> Yeah, and I think its use should be removed. distutils is overly
> complicated for what *should* be a very simple build/clean process.
>
> Placing the output into the source directory (vs build) was just a
> simple mistake. There isn't any particular reason for that, I believe.

I've committed Noorul's patch in r1030557 because it fixes the build
problem and I don't know how to make ctypes-python find the file if we
generate it in the build dir. That can be a later enhancement.

- Julian
Received on 2010-11-03 18:39:37 CET

This is an archived mail posted to the Subversion Dev mailing list.