Ambiente Buildout para Plone-2.5.5 com Módulos Customizados

Escopo

O escopo de customização está limitado ao seguinte Ambiente:

Sistema Operacional Linux
http://distrowatch.com/

Python-2.4.6
https://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz

setuptools-0.6c11
https://github.com/britodfbr/p255-buildout.d/raw/master/src/setuptools-0.6c11.tar.gz

Virtualenv-1.7.2
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.2.tar.gz

Plone-2.5.5-UnifiedInstaller
https://launchpad.net/plone/2.5/2.5.5/+download/Plone-2.5.5-UnifiedInstaller.tgz

Five-1.4.4
http://codespeak.net/z3/five/release/Five-1.4.4.tgz

Imaging-1.1.7 (PIL)
http://effbot.org/downloads/Imaging-1.1.7.tar.gz

reportlab-2.4
http://www.reportlab.com/ftp/reportlab-2.4.tar.gz

Dependências

Red-Hat Like:
dependencias-redhat-like-para-plone.html
Debian Like:
dependencias-debian-like-para-plone.html
Buildout:
  • https://github.com/britodfbr/p255-buildout.d.git
  • https://github.com/britodfbr/p255-etc.git

Instalação

  1. Python-2.4.6 Faz-se necessário instalar o Python 2.4.6:
  2. Setuptools-0.6c11
    • cd /usr/src
    • wget https://github.com/britodfbr/p255-buildout.d/raw/master/src/setuptools-0.6c11.tar.gz
    • tar xvzf setuptools-0.6c11.tar.gz
    • cd setuptools-0.6c11
    • /opt/env-buildout/Python-2.4.6/bin/python2.4 setup.py install
  3. Virtualenv-1.7.2
    • /opt/env-buildout/Python-2.4.6/bin/easy_install virtualenv==1.7.2

Configuração

  1. Criar Ambiente virtual Python-2.4:
    /opt/env-buildout/Python-2.4.6/bin/virtualenv-2.4 --no-site-packages /opt/env-buildout/8000-p255-`date +%s`/py24
  2. Navegue para estrutura criada:
    cd /opt/env-buildout/8000-p255-1403705796
  3. Baixe os arquivos template para buildout:
    git clone https://github.com/britodfbr/p255-buildout.d.git /opt/env-buildout/8000-p255-1403705796/buildout.d
  4. Baixe os arquivos template para o ambiente:
    git clone https://github.com/britodfbr/p255-etc.git /opt/env-buildout/8000-p255-1403705796/etc
  5. Instale o buildout para configuração inicial:
    ./py24/bin/pip install zc.buildout==1.4.4
  6. Ative o buildout-1.4.4 no ambiente:
    ./py24/bin/buildout \
         buildout:download-cache=cache-buildout/downloads \
         buildout:eggs-directory=cache-buildout/eggs \
         buildout:extends-cache=cache-buildout/extends \
         buildout:zope-directory=cache-buildout/zope \
         buildout:develop-eggs-directory=cache-buildout/develop-eggs \
         buildout:fake-eggs-directory=cache-buildout-cache/fake-eggs \
         init;

Comentários