Commit 48568aef authored by André Anjos's avatar André Anjos 💬

xbob -> bob

parent 076ae22a
......@@ -25,8 +25,8 @@ install:
- "python bootstrap.py"
- "./bin/buildout"
script:
- "./bin/python -c 'from xbob.db.base import get_config; print(get_config())'"
- "./bin/coverage run --source=xbob.db.base ./bin/nosetests -sv"
- "./bin/python -c 'from bob.db.base import get_config; print(get_config())'"
- "./bin/coverage run --source=bob.db.base ./bin/nosetests -sv"
- "./bin/sphinx-build -b doctest doc sphinx"
- "./bin/sphinx-build -b html doc sphinx"
after_success:
......
include LICENSE README.rst bootstrap.py buildout.cfg
recursive-include doc conf.py *.rst
recursive-include xbob/db/base/data *.lst
recursive-include bob/db/base/data *.lst
......@@ -2,19 +2,19 @@
.. Andre Anjos <andre.anjos@idiap.ch>
.. Thu 29 Aug 2013 16:07:57 CEST
.. image:: https://travis-ci.org/bioidiap/xbob.db.base.svg?branch=master
:target: https://travis-ci.org/bioidiap/xbob.db.base
.. image:: https://coveralls.io/repos/bioidiap/xbob.db.base/badge.png
:target: https://coveralls.io/r/bioidiap/xbob.db.base
.. image:: http://img.shields.io/github/tag/bioidiap/xbob.db.base.png
:target: https://github.com/bioidiap/xbob.db.base
.. image:: http://img.shields.io/pypi/v/xbob.db.base.png
:target: https://pypi.python.org/pypi/xbob.db.base
.. image:: http://img.shields.io/pypi/dm/xbob.db.base.png
:target: https://pypi.python.org/pypi/xbob.db.base
.. image:: https://travis-ci.org/bioidiap/bob.db.base.svg?branch=master
:target: https://travis-ci.org/bioidiap/bob.db.base
.. image:: https://coveralls.io/repos/bioidiap/bob.db.base/badge.png
:target: https://coveralls.io/r/bioidiap/bob.db.base
.. image:: http://img.shields.io/github/tag/bioidiap/bob.db.base.png
:target: https://github.com/bioidiap/bob.db.base
.. image:: http://img.shields.io/pypi/v/bob.db.base.png
:target: https://pypi.python.org/pypi/bob.db.base
.. image:: http://img.shields.io/pypi/dm/bob.db.base.png
:target: https://pypi.python.org/pypi/bob.db.base
==================================
Python bindings for xbob.db.base
Python bindings for bob.db.base
==================================
This package contains a set of Pythonic bindings for Bob's database packages
......@@ -42,7 +42,7 @@ Testing
You can run a set of tests using the nose test runner::
$ nosetests -sv xbob.db.base
$ nosetests -sv bob.db.base
.. warning::
......@@ -59,7 +59,7 @@ You can run our documentation tests using sphinx itself::
You can test overall test coverage with::
$ nosetests --with-coverage --cover-package=xbob.db.base
$ nosetests --with-coverage --cover-package=bob.db.base
The ``coverage`` egg must be installed for this to work properly.
......
......@@ -119,7 +119,7 @@ class Interface(with_metaclass(abc.ABCMeta, object)):
'''Returns the type of auxiliary files you have for this database
If you return 'sqlite', then we append special actions such as 'dbshell'
on 'xbob_dbmanage.py' automatically for you. Otherwise, we don't.
on 'bob_dbmanage.py' automatically for you. Otherwise, we don't.
If you use auxiliary text files, just return 'text'. We may provide
special services for those types in the future.
......
......@@ -134,7 +134,7 @@ def create_parser(**kwargs):
subparsers = parser.add_subparsers(title='databases')
# for external entries
for entrypoint in pkg_resources.iter_entry_points('xbob.db'):
for entrypoint in pkg_resources.iter_entry_points('bob.db'):
plugin = entrypoint.load()
# at this point we should have loaded all databases
......
......@@ -187,4 +187,4 @@ def connection_string(dbtype, dbfile, opts={}):
# import the create_directories_save function from bob.io
# (it was moved there and renamed)
from xbob.io.base import create_directories_save as makedirs_safe
from bob.io.base import create_directories_save as makedirs_safe
......@@ -4,25 +4,25 @@
[buildout]
parts = scripts
eggs = xbob.db.base
extensions = xbob.buildout
eggs = bob.db.base
extensions = bob.buildout
mr.developer
auto-checkout = *
develop = src/xbob.extension
src/xbob.blitz
src/xbob.io.base
develop = src/bob.extension
src/bob.blitz
src/bob.io.base
.
; options for xbob.buildout extension
; options for bob.buildout extension
debug = true
verbose = true
prefixes = /idiap/group/torch5spro/releases/preview/install/linux-x86_64-release
/Users/andre/work/bob/b/dbg/
[sources]
xbob.extension = git https://github.com/bioidiap/xbob.extension branch=prototype
xbob.blitz = git https://github.com/bioidiap/xbob.blitz
xbob.io.base = git https://github.com/bioidiap/xbob.io.base
bob.extension = git https://github.com/bioidiap/bob.extension
bob.blitz = git https://github.com/bioidiap/bob.blitz
bob.io.base = git https://github.com/bioidiap/bob.io.base
[scripts]
recipe = xbob.buildout:scripts
recipe = bob.buildout:scripts
......@@ -58,12 +58,12 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'xbob.db.base'
project = u'bob.db.base'
import time
copyright = u'%s, Idiap Research Institute' % time.strftime('%Y')
# Grab the setup entry
distribution = pkg_resources.require('xbob.db.base')[0]
distribution = pkg_resources.require('bob.db.base')[0]
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
......@@ -129,7 +129,7 @@ if sphinx.__version__ >= "1.0":
#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = 'xbob_db_base'
#html_short_title = 'bob_db_base'
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
......@@ -187,7 +187,7 @@ html_favicon = 'img/favicon.ico'
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'xbob_db_base_doc'
htmlhelp_basename = 'bob_db_base_doc'
# -- Options for LaTeX output --------------------------------------------------
......@@ -201,7 +201,7 @@ latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'xbob_db_base.tex', u'Bob Database Support Documentation',
('index', 'bob_db_base.tex', u'Bob Database Support Documentation',
u'Biometrics Group, Idiap Research Institute', 'manual'),
]
......@@ -241,7 +241,7 @@ rst_epilog = """
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'xbob_db_base', u'Bob Database Support Documentation', [u'Idiap Research Institute'], 1)
('index', 'bob_db_base', u'Bob Database Support Documentation', [u'Idiap Research Institute'], 1)
]
# Default processing flags for sphinx
......
......@@ -24,19 +24,19 @@ externalize many of them in Satellite Packages.
Reference
---------
This section contains the reference guide for ``xbob.db.base``.
This section contains the reference guide for ``bob.db.base``.
.. automodule:: xbob.db.base
.. automodule:: bob.db.base
Database Handling Utilities
===========================
.. automodule:: xbob.db.base.utils
.. automodule:: bob.db.base.utils
Driver API
==========
.. automodule:: xbob.db.base.driver
.. automodule:: bob.db.base.driver
Indices and tables
------------------
......
......@@ -9,10 +9,10 @@ version = '2.0.0a0'
setup(
name='xbob.db.base',
name='bob.db.base',
version=version,
description='Database Bindings API',
url='http://github.com/bioidiap/xbob.db.base',
url='http://github.com/bioidiap/bob.db.base',
license='BSD',
author='Andre Anjos',
author_email='andre.anjos@idiap.ch',
......@@ -24,17 +24,17 @@ setup(
install_requires=[
'setuptools',
'xbob.io.base',
'bob.io.base',
],
namespace_packages=[
"xbob",
"xbob.db",
"bob",
"bob.db",
],
entry_points={
'console_scripts': [
'xbob_dbmanage.py = xbob.db.base.script.dbmanage:main',
'bob_dbmanage.py = bob.db.base.script.dbmanage:main',
],
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment