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/ phd2@mail.com Programmers don't die, they just GOSUB without RETURN.
On Sat, Jul 15, 2000 at 02:54:41PM +0000, 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 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 -----------------------------------------------------
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 phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
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 -----------------------------------------------------
Martijn Pieters wrote:
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.
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.
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 phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anynoe recommend any documentation on Zope; esp. extending it with Python methods; besides the ZOpe.org stuff? John Holland - --------------- Email: jholland@linuxave.net Web: http://jbhsoft.linuxave.net Public key : finger -s or http://jbhsoft.linuxave.net/pubkey.html -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.2 iQA/AwUBOXH6QRPWCCE2yAKHEQKt2gCfTznCOJZJieQ1RaGjyhgcHQWUQI0AnAsL 2RmxS71Q3JoPrFs9tNreX+Da =glHf -----END PGP SIGNATURE-----
jholland@gears.linuxave.net wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Anynoe recommend any documentation on Zope; esp. extending it with Python methods; besides the ZOpe.org stuff?
Beehive has a zclasses tutorial availiable for DM25 at http://www.beehive.de . I would recommend zclasses over "pure python" products. -- ethan mindlace fremen Zopatista Community Liason Abnegate I!
ethan mindlace fremen wrote:
Beehive has a zclasses tutorial availiable for DM25 at http://www.beehive.de . I would recommend zclasses over "pure python" products.
Why? (that's not negative, I'm just curious ;-) cheers, Chris
Im curious too... But then I had to write a trivial class to do xyz yesterday morning and doing it in ZClasses was just quicker. ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "ethan mindlace fremen" <mindlace@digicool.com> Cc: <jholland@gears.linuxave.net>; "Zope Mailing List" <zope@zope.org> Sent: Tuesday, July 18, 2000 1:38 AM Subject: Re: [Zope] product docs Re: [Zope] Zope docs ??
ethan mindlace fremen wrote:
Beehive has a zclasses tutorial availiable for DM25 at http://www.beehive.de . I would recommend zclasses over "pure python" products.
Why?
(that's not negative, I'm just curious ;-)
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (7)
-
Andy McKay -
Bill Anderson -
Chris Withers -
ethan mindlace fremen -
jholland@gears.linuxave.net -
Martijn Pieters -
Oleg Broytmann