Skip to content
Snippets Groups Projects
Commit feefb3ef authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Put prefixes in priority

parent d7301ead
Branches
Tags
No related merge requests found
......@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
setup(
name='xbob.buildout',
version='0.2.4',
version='0.2.5',
description="zc.buildout recipes to perform a variety of tasks required by Bob satellite packages",
keywords=['buildout', 'sphinx', 'nose', 'recipe', 'eggs', 'bob'],
url='http://github.com/bioidiap/xbob.buildout',
......
......@@ -134,6 +134,12 @@ class Recipe(Scripts):
self.logger.info('Discarding entry-points for section "%s": %s' % \
(self.name, e))
# Sanitize ws.entries so our prefixes come first
for entry in ws.entries:
if entry in self.user_paths: # remove and move to front
ws.entries.remove(entry)
ws.entries.insert(0, entry)
return self.eggs, ws
def install(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment