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

Creates a new version of xbob.buildout based on bob.buildout

parent c63b3d92
No related branches found
No related tags found
No related merge requests found
...@@ -3,19 +3,19 @@ ...@@ -3,19 +3,19 @@
.. Thu 30 Jan 08:46:53 2014 CET .. Thu 30 Jan 08:46:53 2014 CET
.. image:: http://img.shields.io/badge/docs-stable-yellow.png .. image:: http://img.shields.io/badge/docs-stable-yellow.png
:target: http://pythonhosted.org/bob.buildout/index.html :target: http://pythonhosted.org/xbob.buildout/index.html
.. image:: http://img.shields.io/badge/docs-latest-orange.png .. image:: http://img.shields.io/badge/docs-latest-orange.png
:target: https://www.idiap.ch/software/bob/docs/latest/bioidiap/bob.buildout/master/index.html :target: https://www.idiap.ch/software/bob/docs/latest/bioidiap/xbob.buildout/master/index.html
.. image:: https://travis-ci.org/bioidiap/bob.buildout.svg?branch=master .. image:: https://travis-ci.org/bioidiap/bob.buildout.svg?branch=1.0
:target: https://travis-ci.org/bioidiap/bob.buildout :target: https://travis-ci.org/bioidiap/bob.buildout
.. image:: https://coveralls.io/repos/bioidiap/bob.buildout/badge.png .. image:: https://coveralls.io/repos/bioidiap/bob.buildout/badge.png
:target: https://coveralls.io/r/bioidiap/bob.buildout :target: https://coveralls.io/r/bioidiap/bob.buildout
.. image:: https://img.shields.io/badge/github-master-0000c0.png .. image:: https://img.shields.io/badge/github-1.0-0000c0.png
:target: https://github.com/bioidiap/bob.buildout/tree/master :target: https://github.com/bioidiap/bob.buildout/tree/1.0
.. image:: http://img.shields.io/pypi/v/bob.buildout.png .. image:: http://img.shields.io/pypi/v/xbob.buildout.png
:target: https://pypi.python.org/pypi/bob.buildout :target: https://pypi.python.org/pypi/xbob.buildout
.. image:: http://img.shields.io/pypi/dm/bob.buildout.png .. image:: http://img.shields.io/pypi/dm/xbob.buildout.png
:target: https://pypi.python.org/pypi/bob.buildout :target: https://pypi.python.org/pypi/xbob.buildout
=================================== ===================================
Buildout Recipes for Bob Packages Buildout Recipes for Bob Packages
...@@ -39,7 +39,7 @@ This extension allows you to compile C/C++ extensions that depend on each other ...@@ -39,7 +39,7 @@ This extension allows you to compile C/C++ extensions that depend on each other
using a buildout. It assures that eggs living in both ``develop-eggs`` and using a buildout. It assures that eggs living in both ``develop-eggs`` and
``eggs`` are on your path before building the packages in the ``develop`` ``eggs`` are on your path before building the packages in the ``develop``
section. By using this extension you can drop the use of the local recipe section. By using this extension you can drop the use of the local recipe
``bob.buildout:develop``, which should be considered deprecated. ``xbob.buildout:develop``, which should be considered deprecated.
Supported Options Supported Options
================= =================
...@@ -130,7 +130,7 @@ package scripts ...@@ -130,7 +130,7 @@ package scripts
To use this recipe, you just have to simply do:: To use this recipe, you just have to simply do::
[scripts] [scripts]
recipe = bob.buildout:scripts recipe = xbob.buildout:scripts
Common Supported Options Common Supported Options
======================== ========================
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
[buildout] [buildout]
parts = scripts parts = scripts
develop = . develop = .
eggs = bob.buildout eggs = xbob.buildout
newest = false newest = false
[scripts] [scripts]
recipe = bob.buildout:scripts recipe = xbob.buildout:scripts
...@@ -9,7 +9,7 @@ from setuptools import setup, find_packages ...@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
version = open("version.txt").read().rstrip() version = open("version.txt").read().rstrip()
setup( setup(
name='bob.buildout', name='xbob.buildout',
version=version, version=version,
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'],
...@@ -26,24 +26,24 @@ setup( ...@@ -26,24 +26,24 @@ setup(
zip_safe=False, zip_safe=False,
namespace_packages = [ namespace_packages = [
'bob', 'xbob',
], ],
entry_points = { entry_points = {
'zc.buildout': [ 'zc.buildout': [
'develop = bob.buildout.develop:Recipe', 'develop = xbob.buildout.develop:Recipe',
'scripts = bob.buildout.scripts:Recipe', 'scripts = xbob.buildout.scripts:Recipe',
'python = bob.buildout.scripts:PythonInterpreter', 'python = xbob.buildout.scripts:PythonInterpreter',
'gdb-python = bob.buildout.scripts:GdbPythonInterpreter', 'gdb-python = xbob.buildout.scripts:GdbPythonInterpreter',
'ipython = bob.buildout.scripts:IPythonInterpreter', 'ipython = xbob.buildout.scripts:IPythonInterpreter',
'pylint = bob.buildout.scripts:PyLint', 'pylint = xbob.buildout.scripts:PyLint',
'nose = bob.buildout.scripts:NoseTests', 'nose = xbob.buildout.scripts:NoseTests',
'coverage = bob.buildout.scripts:Coverage', 'coverage = xbob.buildout.scripts:Coverage',
'sphinx = bob.buildout.scripts:Sphinx', 'sphinx = xbob.buildout.scripts:Sphinx',
'egg.scripts = bob.buildout.scripts:UserScripts', 'egg.scripts = xbob.buildout.scripts:UserScripts',
], ],
'zc.buildout.extension': [ 'zc.buildout.extension': [
'extension = bob.buildout.extension:extension', 'extension = xbob.buildout.extension:extension',
], ],
}, },
......
2.0.3b0 1.0.0
\ No newline at end of file
File moved
File moved
...@@ -27,7 +27,7 @@ class Recipe(object): ...@@ -27,7 +27,7 @@ class Recipe(object):
self.logger = logging.getLogger(self.name) self.logger = logging.getLogger(self.name)
self.buildout = buildout self.buildout = buildout
self.logger.warn("this recipe is **deprecated**, use bob.buildout as your first extension instead (before any other)") #self.logger.warn("this recipe is **deprecated**, use bob.buildout as your first extension instead (before any other)")
# finds the setup script or use the default # finds the setup script or use the default
self.setup = os.path.join(buildout['buildout']['directory'], self.setup = os.path.join(buildout['buildout']['directory'],
...@@ -46,7 +46,7 @@ class Recipe(object): ...@@ -46,7 +46,7 @@ class Recipe(object):
# the eggs we need to **build** this package # the eggs we need to **build** this package
eggs = tools.parse_list(options.get('eggs', '')) eggs = tools.parse_list(options.get('eggs', ''))
required_eggs = [ required_eggs = [
'bob.extension', # basic extension building using pkg-config + Bob #'bob.extension', # basic extension building using pkg-config + Bob
] ]
eggs += required_eggs eggs += required_eggs
eggs = tools.uniq(eggs) eggs = tools.uniq(eggs)
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment