summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-22 03:28:20 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-22 03:28:20 +0000
commit9f9a13cf06eb24fbc39bec5e4f4bca1bd3135a2c (patch)
treed984c7c1d572c7068e14e9885d1e8c521fc47105 /encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep
parent220cdf1fb8098a9b1e7352b24bf6daf866d6c105 (diff)
downloadbcfg2-9f9a13cf06eb24fbc39bec5e4f4bca1bd3135a2c.tar.gz
bcfg2-9f9a13cf06eb24fbc39bec5e4f4bca1bd3135a2c.tar.bz2
bcfg2-9f9a13cf06eb24fbc39bec5e4f4bca1bd3135a2c.zip
EncapPackages: Changes to get lxml-1.2.1 to work:
1. Add setuptools-0.6c6 2. Modifications to Python and all Python modules to work with new setuptools 3. There is no three git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3328 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep11
1 files changed, 9 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep b/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep
index 4f298e821..c60eed62f 100644
--- a/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep
+++ b/encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep
@@ -74,8 +74,15 @@ subdir="python-apt-0.6.19"
</build>
<install>
-/usr/local/lib/bcfg2/bin/python setup.py install \
---prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 \
+test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE}
+test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}
+test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib
+test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2
+test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib
+test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4
+test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages
+PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/lib/bcfg2/bin/python setup.py install \
+--prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2
</install>
<clean>