Re: [Zope] Zope build script

2001-01-20 Thread Oleg Broytmann

On Sat, 20 Jan 2001, Oleg Broytmann wrote:
>http://www.zope.org/Members/phd/build-zope/

   Oops, forget to say - the script was updated for Zope 2.3 (it now
asks for "inituser" along with "access"). The script still can be used for
Zope 2.2.

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope build script

2001-01-20 Thread Oleg Broytmann

Hello!

   http://www.zope.org/Members/phd/build-zope/

   Zope build script helps to build Zope from sources. The script:

-- runs python w_pcgi.py
-- runs python zpasswd.py inituser|access
-- generates root.sh - a script to run under root to complete the
  installation; root.sh set up right ownership and permissions in the
  installation tree.

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope build script

2000-07-17 Thread Oleg Broytmann

On Sat, 15 Jul 2000, Bill Anderson wrote:
> and running w_pcgi.py or wo_pcgi.py and watch them compile the produtcs
>  and sometimes spit out syntax errors in them...

   Very often, 'fcourse, but anyway I always have "fromwin" binary around.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope build script

2000-07-15 Thread Bill Anderson

Martijn Pieters wrote:
> 
> On Sat, Jul 15, 2000 at 03:13:46PM +, 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.


YUp, and you can cerify it by installing products in the Products tree,
and running w_pcgi.py or wo_pcgi.py and watch them compile the produtcs
 and sometimes spit out syntax errors in them...

Bill

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope build script

2000-07-15 Thread Martijn Pieters

On Sat, Jul 15, 2000 at 03:13:46PM +, 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 Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope build script

2000-07-15 Thread Oleg Broytmann

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...

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope build script

2000-07-15 Thread Martijn Pieters

On Sat, Jul 15, 2000 at 02:54:41PM +, Oleg Broytmann wrote:
>I've published a simple shell script I use to compile Zope from sources
> and configure it a bit:
> 
>http://www.zope.org/Members/phd/build-zope/
> 
> The simple script does:
> 
>-- compiles *.py files to *.pyc 

w_pcgi.py and wo_pcgi.py do this as well. 

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope build script

2000-07-15 Thread Oleg Broytmann

Hello!

   I've published a simple shell script I use to compile Zope from sources
and configure it a bit:

   http://www.zope.org/Members/phd/build-zope/

The simple script does:

   -- compiles *.py files to *.pyc 
   -- runs python w_pcgi.py 
   -- runs python zpasswd.py access 
   -- generates root.sh - a script to run under root to complete the
  installation; root.sh set up right ownership and permissions in the
  installation tree 

You can easily customize it to your needs.

Oleg.
 
 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )