[Setup] correctrelative paths for [sources] fs

RKBelew rik at cogsci.ucsd.edu
Mon Aug 27 00:49:04 UTC 2012

hi all, can someone please confirm:  if you build a new package called 
PKG and its policy is contained in a src/PKG.policy subdirectory, 
shouldn't buildout.cfg be a sibling of a "src" directory containing 
these files, if the  buildout.cfg contains [sources] lines like 
"PKG.policy = fs PKG.policy" ?    cuz i'm getting "can't
find distribution" errors and i don't know why?

thanks for any pointers.


> monk:~/Plone/zeocluster> ./bin/buildout -D
> Unused options for buildout: 'auto-checkout'.
> Updating zeoserver.
> Installing client1.
> Couldn't find index page for 'PKG.policy' (maybe misspelled?)
> Getting distribution for 'PKG.policy'.
> While:
>   Installing client1.
>   Getting distribution for 'PKG.policy'.
> Traceback (most recent call last):
>   File "/home/rik/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
>     getattr(buildout, command)(args)
>   File "/home/rik/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 555, in install
>     installed_files = self[part]._call(recipe.install)
>   File "/home/rik/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1227, in _call
>     return f()
>   File "/home/rik/Plone/buildout-cache/eggs/plone.recipe.zope2instance-4.2.1-py2.7.egg/plone/recipe/zope2instance/__init__.py", line 109, in install
>     self.install_scripts()
>   File "/home/rik/Plone/buildout-cache/eggs/plone.recipe.zope2instance-4.2.1-py2.7.egg/plone/recipe/zope2instance/__init__.py", line 547, in install_scripts
>     requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
>   File "/home/rik/Plone/buildout-cache/eggs/zc.recipe.egg-1.2.2-py2.7.egg/zc/recipe/egg/egg.py", line 90, in working_set
>     **kw)
>   File "/home/rik/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 800, in install
>     return installer.install(specs, working_set)
>   File "/home/rik/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 646, in install
>     for dist in self._get_dist(requirement, ws, self._always_unzip):
>   File "/home/rik/Plone/buildout-cache/eggs/buildout.dumppickedversions-0.5-py2.7.egg/buildout/dumppickedversions/__init__.py", line 33, in get_dist
>     dists = old_get_dist(self, requirement, ws, always_unzip)
>   File "/home/rik/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 483, in _get_dist
>     raise MissingDistribution(requirement, ws)
> MissingDistribution: Couldn't find a distribution for 'PKG.policy'.

More information about the Setup mailing list