[sugar] packaging python

Neal Norwitz nnorwitz at gmail.com
Tue Mar 6 04:33:10 EST 2007


On 3/6/07, Marco Pesenti Gritti <mpg at redhat.com> wrote:
> On Mon, 2007-03-05 at 23:16 -0800, Neal Norwitz wrote:
> > What is the plan for packaging python?  It looked like when I did a
> > build-base that it pulled down a stock python 2.5.  Are there any
> > patches applied?  What will happen when we want to patch Python for
> > OLPC?
>
> In sugar-jhbuild we are building stock python without any patch. For the
> images we are using the Fedora python rpm, you can see the patches we
> apply there from the srpm.
>
> If there are patches that needs to be applied we can do that both in
> sugar-jhbuild and rpms.

That's good to know, thanks.  Couple more questions:

How do I submit the patches?  What branch should they be against (2.5
release, 2.5 SVN, or something else)?  Would it be easier to put them
up on python.org somewhere and let people download them/play with
them?  By fedora, do you mean 6?  Hmmm, I don't see python 2.5 here:
http://download.fedora.redhat.com/pub/fedora/linux/core/6/source/SRPMS/
 Where can I get the rpm?

Also, for something like PGO, I would make a separate target or two in
the makefile, but it wouldn't be the default target.  Is that a
problem?  I'm currently thinking about 2 options, make pgo-fast and
make pgo-complete.  The fast target would just run python a bit (ie,
use the existing run when building all the modules).  The complete
target would run the regression test suite which will take an
additional 5 minutes or so depending on your box.

Thanks,
n

PS.  I just made a http://python.org/neal/olpc, but it's empty for now.


More information about the Sugar mailing list