[Zope] Zope build script

Martijn Pieters mj@digicool.com
Sat, 15 Jul 2000 17:18:52 +0200


On Sat, Jul 15, 2000 at 03:13:46PM +0000, Oleg Broytmann wrote:
> On Sat, 15 Jul 2000, Martijn Pieters wrote:
> > > The simple script does:
> > > 
> > >    -- compiles *.py files to *.pyc 
> > 
> > w_pcgi.py and wo_pcgi.py do this as well. 
> 
>    Then they changed since I looked last time. I remember they didn't
> compile *.py...

w_pcgi.py imports and runs wo_pcgi.py, which in turn imports
inst/compilezpy.py. The act of importing that file causes it to compile all
.py files from the Zope directory and all it's subdirectories.

-- 
Martijn Pieters
| Software Engineer            mailto:mj@digicool.com
| Digital Creations          http://www.digicool.com/
| Creators of Zope               http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-----------------------------------------------------