Commit 5b1b12c1 authored by Jim Fulton's avatar Jim Fulton

find tuning install scripts

parent 7614bcfb
...@@ -82,8 +82,18 @@ ...@@ -82,8 +82,18 @@
# attributions are listed in the accompanying credits file. # attributions are listed in the accompanying credits file.
# #
############################################################################## ##############################################################################
import compileall, os, sys
class Shutup:
def write(*args): pass # :)
print print
print '-'*78 print '-'*78
print 'Compiling py files' print 'Compiling py files'
import compileall, os stdout=sys.stdout
compileall.compile_dir(os.getcwd()) try:
sys.stdout=Shutup()
compileall.compile_dir(os.getcwd())
finally:
sys.stdout=stdout
...@@ -92,6 +92,7 @@ from do import * ...@@ -92,6 +92,7 @@ from do import *
def main(cwd=os.getcwd(), name='Zope', user='', group=''): def main(cwd=os.getcwd(), name='Zope', user='', group=''):
python=sys.executable python=sys.executable
print '-'*78
print 'Writing the pcgi resource file (ie cgi script), %s' % name print 'Writing the pcgi resource file (ie cgi script), %s' % name
cwd=os.environ.get('ZDIR',cwd) cwd=os.environ.get('ZDIR',cwd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment