Re: [Python-Dev] [Python-checkins] Things to remember when adding *packages* to stdlib

2006-06-26 Thread Neal Norwitz
On 6/25/06, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Neal Norwitz wrote:
> > I believe this change is all that's necessary on the Unix side to
> > install wsgiref.  Can someone please update the Windows build files to
> > ensure wsgiref is installed in b2?  Don't forget to update the NEWS
> > entry too.
>
> It's installed in b1 already. The msi generator picks up all .py files
> in Lib automatically, except for those that have been explicitly
> excluded (the plat-* ones).

Ah cool.  I was confusing it with extensions and mis-remembering.

> > Maybe someone could come up with a heuristic to add to Misc/build.sh
> > which we could test in there.
>
> I think "make install INSTALL=true|grep true" should print the names
> of all .py files in Lib, except for the ones in plat-*.

I modified the build.sh script to run the installed version.  As long
as some test references the new package, this should catch the
problem.  I sure hope we don't allow a new package without tests. :-)

I also modified the buildbot config to ignore changes if all the files
in a revision are under Demo, Doc, or Misc.  This change (if I got it
right and it works) should help reduce some builds that have little
benefit.

n
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] Things to remember when adding *packages* to stdlib

2006-06-25 Thread Martin v. Löwis
Neal Norwitz wrote:
> I believe this change is all that's necessary on the Unix side to
> install wsgiref.  Can someone please update the Windows build files to
> ensure wsgiref is installed in b2?  Don't forget to update the NEWS
> entry too.

It's installed in b1 already. The msi generator picks up all .py files
in Lib automatically, except for those that have been explicitly
excluded (the plat-* ones).

> Maybe someone could come up with a heuristic to add to Misc/build.sh
> which we could test in there.

I think "make install INSTALL=true|grep true" should print the names
of all .py files in Lib, except for the ones in plat-*.

Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com