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

Merge branch 'new_driver' into 'master'

New driver

See merge request !2
parents fa7689f4 adb1b552
No related branches found
No related tags found
1 merge request!2New driver
Pipeline #
include LICENSE README.rst bootstrap-buildout.py buildout.cfg develop.cfg version.txt requirements.txt
recursive-include doc doc/plot doc/img conf.py *.rst *.ico *.png *.py
recursive-include doc conf.py *.rst *.ico *.png *.py
include bob/db/iris/iris.data bob/db/iris/iris.names
......@@ -67,8 +67,9 @@ def data():
"""
from .driver import Interface
import csv
import pkg_resources
data = Interface().files()[0]
data = pkg_resources.resource_filename(__name__, 'iris.data')
retval = {}
......
......@@ -21,10 +21,7 @@ class Interface(AbstractInterface):
The values should be take w.r.t. where the python file that declares the
database is sitting at.
'''
from pkg_resources import resource_filename
raw_files = ('iris.data', 'iris.names')
return [resource_filename(__name__, k) for k in raw_files]
return []
def version(self):
'''Returns the current version number from Bob's build'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment