diff --git a/README.rst b/README.rst index 835b51ce51f214b3e996b67c19ce439b31078799..9915889821833d3e1d23c99842ef5ad2beb6ad7b 100644 --- a/README.rst +++ b/README.rst @@ -95,12 +95,14 @@ In this case, this should return two NumPy arrays: If you don't have the data installed on your machine, you can also use the following -set of command that will: +set of commands that will: 1. first look for the database in the xbob/db/mnist/ subdirectory and use it if is available 2. or automatically download it from Yann Lecun's website into a temporary folder, that will -be erased when the destructor of the xbob.db.mnist database is called:: +be erased when the destructor of the xbob.db.mnist database is called. + +:: >>> import xbob.db.mnist >>> db = xbob.db.mnist.Database() # Check for the data files locally, and download them if required diff --git a/buildout.cfg b/buildout.cfg index 2fb310bdf8d7d943516d9d23d2014b3b43893339..537a3f48965403365765fb9e1b9fb1f1ea4706ad 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -6,8 +6,6 @@ parts = scripts develop = . eggs = xbob.db.mnist -newest = false [scripts] recipe = xbob.buildout:scripts -dependent-scripts = true diff --git a/setup.py b/setup.py index d3136c2475b796e4d3b0e89a86eacc19769f1dcd..fd60afa8a3a2ba5067b418bd4066ef228ffd5fa9 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup, find_packages setup( name='xbob.db.mnist', - version='1.0.0g', + version='1.0.0h', description='MNIST Database Access API for Bob', url='http://github.com/bioidiap/xbob.db.mnist', license='GPLv3', diff --git a/xbob/db/mnist/driver.py b/xbob/db/mnist/driver.py index a6833e8d915ab28cd50f83a964c55fa31a1d3669..91b83e5fb66f0201d8425787af1195b6a1416b94 100644 --- a/xbob/db/mnist/driver.py +++ b/xbob/db/mnist/driver.py @@ -37,7 +37,7 @@ class Interface(BaseInterface): return () def type(self): - return 'python_integrated' + return 'binary' def add_commands(self, parser): diff --git a/xbob/db/mnist/test.py b/xbob/db/mnist/test.py index 941b6d360d7ba20e58a69da4e7701235a5ec420e..5a82aec600f14f5dc8684a53a3114719897951fa 100644 --- a/xbob/db/mnist/test.py +++ b/xbob/db/mnist/test.py @@ -19,7 +19,6 @@ """A few checks at the MNIST database. """ -import os, sys import unittest from . import Database