[Distutils] Geraldo Reports + Buildout

João Alfredo ermitaoj at gmail.com
Fri May 13 20:19:58 CEST 2011


Hi everybody,

I'm not sure if this is a geraldo issue or a buildout issue but here we go.
I'm trying to include geraldo into my project buildout but it fails to
build with the following error:

 File "/Users/joaoalf/Dropbox/Projetos/dx.nfe/eggs/setuptools-0.6c12dev_r88795-py2.7.egg/setuptools/sandbox.py",
line 64, in <lambda>
 File "setup.py", line 12, in <module>
   package_dir={'': 'src'},
 File "/var/folders/Fa/Faj+MzOzGuWUpLWQhPYR+++++TI/-Tmp-/easy_install-LmafwR/Geraldo-0.4.12-stable/geraldo/__init__.py",
line 56, in <module>
 File "/var/folders/Fa/Faj+MzOzGuWUpLWQhPYR+++++TI/-Tmp-/easy_install-LmafwR/Geraldo-0.4.12-stable/geraldo/base.py",
line 8, in <module>
ImportError: No module named reportlab.lib.units
An error occurred when trying to install Geraldo 0.4.12-stable. Look
above this message for any errors that were output by easy_install.
While:
 Installing Geraldo.
 Getting distribution for 'Geraldo'.
Error: Couldn't install: Geraldo 0.4.12-stable

and here is my buildout.cfg:

[buildout]
develop = .
parts =
     xmlsec
     Geraldo
     PySPED
     dx.nfe

[xmlsec]
recipe = hexagonit.recipe.cmmi
url = http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.18.tar.gz

[Geraldo]
recipe = zc.recipe.egg
eggs =
    reportlab
    Geraldo

[PySPED]
recipe = gitrecipe
repository = https://github.com/aricaldeira/PySPED.git

[dx.nfe]
recipe = zc.recipe.egg
scripts = dxnfe
interpreter = py
eggs =
    zope.interface
    zope.component
    zope.event
    lxml
    PyXMLSec
src = src/dx/nfe

reportlab is installed into my buildout eggs directory but geraldo
seens to miss it.

Can anyone tell me how to fix it?

Thanks in advance.

João Alfredo

-- 
João Alfredo <ermitaoj at gmail.com>


More information about the Distutils-SIG mailing list