From 7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Fri, 22 Jun 2007 14:25:33 +0000 Subject: EncapPackages: For some reason I haven't figured out yet, byte-compiling all of the python modules in the manner that is commented out was causing one of the *.py files to be replaced with the contents of it's *.pyc file, which caused a lot of things to mysteriously fail. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3334 ce84e21b-d406-0410-9b95-82705330c041 --- encap/src/encap-profiles/bcfg2-0.9.4.ep | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'encap/src/encap-profiles') diff --git a/encap/src/encap-profiles/bcfg2-0.9.4.ep b/encap/src/encap-profiles/bcfg2-0.9.4.ep index df1c003d6..ad480bc49 100644 --- a/encap/src/encap-profiles/bcfg2-0.9.4.ep +++ b/encap/src/encap-profiles/bcfg2-0.9.4.ep @@ -370,8 +370,11 @@ printf "\nReplacing \"#!/usr/bin/python\" with " printf "\"#!/usr/local/lib/bcfg2/bin/python\"...\n" ${REGEXPLACE} ${BASEDIR} .\* \#\!\/usr\/bin\/python \#\!\/usr\/local\/lib\/bcfg2\/bin\/python -printf "\nCreating bcfg2 .pyc files...\n" -${PYTHON} ${COMPILEALL} ${BASEDIR} +# For some reason this causes TLSSocketServerMixIn.py to be replaced with the contents of +# TLSSocketServerMixIn.pyc , which breaks things. Should figure out why and fix this for +# improved performance as soon as possible (TODO/FIXME). +#printf "\nCreating bcfg2 .pyc files...\n" +#${PYTHON} ${COMPILEALL} ${BASEDIR} exit 0 ]]> -- cgit v1.2.3-1-g7c22