diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2007-06-22 14:25:33 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2007-06-22 14:25:33 +0000 |
commit | 7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8 (patch) | |
tree | b2036d7005b9e49ed897c0dbf7726b696397584a /encap | |
parent | ddd1f0ec702e6309609069a658c3a73b1c98bc15 (diff) | |
download | bcfg2-7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8.tar.gz bcfg2-7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8.tar.bz2 bcfg2-7e9b83c73cd2b4781c18249ca0f2a0b9e85008c8.zip |
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
Diffstat (limited to 'encap')
-rw-r--r-- | encap/src/encap-profiles/bcfg2-0.9.4.ep | 7 |
1 files changed, 5 insertions, 2 deletions
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 ]]></include_file> |