On my sid system /usr/lib/python2.4/ doesn't exist,
I'll do some testing to see if this change works there.

On Thu, Sep 29, 2011 at 02:36:39PM -0700, Ben Pfaff wrote:
> Yes, it is part of the default python search path.
> 
> I'm going to ask Simon Horman to look this over too.
> 
> Thanks,
> 
> Ben.
> 
> On Thu, Sep 29, 2011 at 02:19:09PM -0700, Ethan Jackson wrote:
> > Looks good to me.
> > 
> > I assume site-packages is in the PYTHONPATH on these systems?
> > 
> > Ethan
> > 
> > On Tue, Sep 27, 2011 at 11:25, Ben Pfaff <[email protected]> wrote:
> > > The dh_python2 helper in Debian squeeze has a limitation that is not
> > > mentioned anywhere, as far as I can tell: Python files must be in
> > > /usr/lib/python#.#/site-packages to be installed. ?The version in Debian
> > > wheezy does not have the same limitation.
> > >
> > > This meant that building the Debian packages on squeeze silently produced
> > > a broken python-openvswitch package, whereas building the same thing on
> > > wheezy built a working package.
> > >
> > > This fixes the problem by putting the .py files where squeeze expects 
> > > them.
> > > It works on wheezy too.
> > >
> > > Bug #7510.
> > > Reported-by: Michael Hu <[email protected]>
> > > ---
> > > ?AUTHORS ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?1 +
> > > ?debian/python-openvswitch.install | ? ?4 ++--
> > > ?2 files changed, 3 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/AUTHORS b/AUTHORS
> > > index da82f10..ef2a410 100644
> > > --- a/AUTHORS
> > > +++ b/AUTHORS
> > > @@ -80,6 +80,7 @@ John Galgay ? ? ? ? ? ? [email protected]
> > > ?Koichi Yagishita ? ? ? [email protected]
> > > ?Krishna Miriyala ? ? ? [email protected]
> > > ?Luiz Henrique Ozaki ? ? [email protected]
> > > +Michael Hu ? ? ? ? ? ? [email protected]
> > > ?Michael Mao ? ? ? ? ? ? [email protected]
> > > ?Mikael Doverhag ? ? ? ? [email protected]
> > > ?Niklas Andersson ? ? ? [email protected]
> > > diff --git a/debian/python-openvswitch.install 
> > > b/debian/python-openvswitch.install
> > > index 17af546..fb901b7 100644
> > > --- a/debian/python-openvswitch.install
> > > +++ b/debian/python-openvswitch.install
> > > @@ -1,2 +1,2 @@
> > > -python/ovs/*.py usr/share/pyshared/ovs/
> > > -python/ovs/db/*.py usr/share/pyshared/ovs/db/
> > > +python/ovs/*.py usr/lib/python2.4/site-packages/ovs/
> > > +python/ovs/db/*.py usr/lib/python2.4/site-packages/ovs/db/
> > > --
> > > 1.7.4.4
> > >
> > > _______________________________________________
> > > dev mailing list
> > > [email protected]
> > > http://openvswitch.org/mailman/listinfo/dev
> > >
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev
> 
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to