buildout dependencies trouble
I've been making a buildout.cfg for deploying web sites and hit some snags. django-page-cms is a package I want, and getting it via buildout found eggs for other apps, but needed source for django-page-cms. From there, some requirements, (don't know where they are in the code), pulled in packages django-haystack, django-messages, whoosh, django-mptt-2, and coverage. I think to build the source only absolutely requires django-mptt-2. whoosh and coverage have had problems. buildout found whoosh as a zipped egg and left it zipped even though putting it in the common eggs directory where all others are unzipped and a python path points to them for use when code runs. To get a complete build, I manually unzipped. I'm not moving eggs and downloads to my server, so buildout on the server needed the same treatment. coverage was found OK from my local machine, but not from the server. I'm not sure yet why. I'll try using bin/buidout -D (Debug errors.) soon. Any other suggestions? John
On Sun, Jul 11, 2010 at 3:18 PM, John Griessen
I've been making a buildout.cfg for deploying web sites and hit some snags.
django-page-cms is a package I want, and getting it via buildout found eggs for other apps, but needed source for django-page-cms.
I don't know what this means.
From there, some requirements, (don't know where they are in the code), pulled in packages django-haystack, django-messages, whoosh, django-mptt-2, and coverage.
I think to build the source only absolutely requires django-mptt-2.
Buildout pulls in the run-time requirements, as defined in the packages install_requires.
whoosh and coverage have had problems. buildout found whoosh as a zipped egg and left it zipped even though putting it in the common eggs directory where all others are unzipped and a python path points to them for use when code runs. To get a complete build, I manually unzipped.
Include: unzip = true in the buildout section of your buildout. ...
coverage was found OK from my local machine, but not from the server. I'm not sure yet why.
I'll try using bin/buidout -D (Debug errors.) soon.
Any other suggestions?
Try running with -v (verbode) or -vv (debug/very verbose) Jim -- Jim Fulton
[Jim Fulton]
[John Griessen]
I've been making a buildout.cfg for deploying web sites and hit some snags.
django-page-cms is a package I want, and getting it via buildout found eggs for other apps, but needed source for django-page-cms.
I don't know what this means.
I understood it so: I want to download django-page-cms with buildout, which finds distributions in the form of eggs for some other projects (probably dependencies of this one, or maybe unrelated django packages just quoted as example), but buildout downloaded the source dist for django-page-cms, not an egg. Hope this helps. Regards
participants (3)
-
Jim Fulton
-
John Griessen
-
Éric Araujo