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

Add stuff already on PyPI

parent 3ac3d829
Branches
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ from setuptools import setup, find_packages ...@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
setup( setup(
name='xbob.buildout', name='xbob.buildout',
version='0.2.1', version='0.2.2',
description="zc.buildout recipes to perform a variety of tasks required by Bob satellite packages", description="zc.buildout recipes to perform a variety of tasks required by Bob satellite packages",
keywords=['buildout', 'sphinx', 'nose', 'recipe', 'eggs', 'bob'], keywords=['buildout', 'sphinx', 'nose', 'recipe', 'eggs', 'bob'],
url='http://github.com/bioidiap/xbob.buildout', url='http://github.com/bioidiap/xbob.buildout',
......
...@@ -28,6 +28,9 @@ zc.buildout.easy_install.py_script_template = \ ...@@ -28,6 +28,9 @@ zc.buildout.easy_install.py_script_template = \
__import__('code').interact(banner=('Python ' + sys.version + ' on ' + sys.platform + '\\nType "help", "copyright", "credits" or "license" for more information.'), local=globals()) __import__('code').interact(banner=('Python ' + sys.version + ' on ' + sys.platform + '\\nType "help", "copyright", "credits" or "license" for more information.'), local=globals())
""") """)
# Fixes buildout search path for external packages
zc.buildout.easy_install.buildout_and_distribute_path += sys.path
class Recipe(Scripts): class Recipe(Scripts):
"""Just creates a given script with the "correct" paths """Just creates a given script with the "correct" paths
""" """
...@@ -104,9 +107,8 @@ class Recipe(Scripts): ...@@ -104,9 +107,8 @@ class Recipe(Scripts):
# locally and are up-to-date (newest is 'true'), then nothing is # locally and are up-to-date (newest is 'true'), then nothing is
# downloaded. If not, required distributions are updated respecting the # downloaded. If not, required distributions are updated respecting the
# flag 'prefer-final', naturally. # flag 'prefer-final', naturally.
paths = self.user_paths + [ paths = self.user_paths + [
options['develop-eggs-directory'], b_options['develop-eggs-directory'],
] ]
# Checks each distribution individually, to avoid that easy_install # Checks each distribution individually, to avoid that easy_install
...@@ -117,7 +119,7 @@ class Recipe(Scripts): ...@@ -117,7 +119,7 @@ class Recipe(Scripts):
ws = None ws = None
for d in distributions: for d in distributions:
tws = zc.buildout.easy_install.install([d,], tws = zc.buildout.easy_install.install([d,],
options['eggs-directory'], links=self.links, index=self.index, b_options['eggs-directory'], links=self.links, index=self.index,
path=paths, newest=self.newest, allow_hosts=self.allow_hosts) path=paths, newest=self.newest, allow_hosts=self.allow_hosts)
if ws is None: if ws is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment