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

Re: [PATCH] Dehardcode the Python bindings version in the installer generator

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 31 Jul 2009 16:52:11 +0100

On Fri, 2009-07-31 at 08:49 -0600, D.J. Heap wrote:
> On Fri, Jul 31, 2009 at 8:32 AM, Roman Donchenko<DXDragon_at_yandex.ru> wrote:
> [snip[
> >
> > Sure I did. Committed in r38511.
> >
>
>
> This builds the installer, it doesn't install the bindings and no step
> in our build process installs the bindings that I know of, so how does
> this work? Am I missing something or is it just pulling in the last
> installed bindings version?

That puzzled me too. I believe the answer is that Python's "from X
import Y" first looks in a subdirectory named X in the current
directory, which in this case it finds. :-)

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2377465
Received on 2009-07-31 17:52:37 CEST

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