← Back to team overview

hooghuis team mailing list archive

[Bug 507866] Re: in buildout.cfg "eggs=" specification lines with comments only break easy install

 

** Changed in: schooltool
       Status: Fix Committed => Fix Released

** Changed in: schooltool.gradebook
       Status: Fix Committed => Fix Released

** Changed in: schooltool.lyceum.journal
       Status: Fix Committed => Fix Released

** Changed in: schooltool.intervention
       Status: Fix Committed => Fix Released

-- 
in buildout.cfg "eggs=" specification lines with comments only break easy install
https://bugs.launchpad.net/bugs/507866
You received this bug notification because you are a member of Het
Hooghuis Ubuntu Team, which is subscribed to SchoolTool 1.3.1.

Status in SchoolTool: Fix Released
Status in SchoolTool Gradebook: Fix Released
Status in SchoolTool Intervention System: Fix Released
Status in SchoolTool Lyceum Journal: Fix Released

Bug description:
We need to change in all base.cfg files:
eggs = # set to package name in buildout.cfg
to:
# set to package name in buildout.cfg
eggs =

Reason:
When people extend eggs (instead of replacing) in buildout.cfg, like this:
eggs += schooltool

easy_install does not filter out "# set to package name in buildout.cfg" and passes it as a *separate* package requirement to pkg_resources.  pkg_resources then apply regex to obtain the required package name and fails.  Kudos to easy_install.

P.S.:  
"eggs=schooltool # comment
           schooltool.gradebook" works, but
"eggs=schooltool
           # comment
           schooltool.gradebook" *does not*