__init__.py 1.53 KB
Newer Older
1
2
3
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :

4
from .database import FaceBioFile
5
6
7
8
9
10
11
12
13
14
from .mobio import MobioBioDatabase
from .replay import ReplayBioDatabase
from .atnt import AtntBioDatabase
from .banca import BancaBioDatabase
from .gbu import GBUBioDatabase
from .arface import ARFaceBioDatabase
from .caspeal import CaspealBioDatabase
from .lfw import LFWBioDatabase
from .multipie import MultipieBioDatabase
from .ijba import IJBABioDatabase
15
from .ijbb import IJBBBioDatabase
16
17
18
from .xm2vts import XM2VTSBioDatabase
from .frgc import FRGCBioDatabase
from .scface import SCFaceBioDatabase
19
from .replaymobile import ReplayMobileBioDatabase
20
from .msu_mfsd_mod import MsuMfsdModBioDatabase
21
22

# gets sphinx autodoc done right - don't remove it
23
24


25
26
27
28
29
30
31
32
33
34
35
def __appropriate__(*args):
  """Says object was actually declared here, and not in the import module.
  Fixing sphinx warnings of not being able to find classes, when path is shortened.
  Parameters:

    *args: An iterable of objects to modify

  Resolves `Sphinx referencing issues
  <https://github.com/sphinx-doc/sphinx/issues/3048>`
  """

36
37
  for obj in args:
    obj.__module__ = __name__
38
39

__appropriate__(
40
41
42
43
44
45
46
47
48
49
50
  FaceBioFile,
  MobioBioDatabase,
  ReplayBioDatabase,
  AtntBioDatabase,
  BancaBioDatabase,
  GBUBioDatabase,
  ARFaceBioDatabase,
  CaspealBioDatabase,
  LFWBioDatabase,
  MultipieBioDatabase,
  IJBABioDatabase,
51
  IJBBBioDatabase,
52
53
54
55
56
57
  XM2VTSBioDatabase,
  FRGCBioDatabase,
  SCFaceBioDatabase,
  ReplayMobileBioDatabase,
  MsuMfsdModBioDatabase,
)
58
__all__ = [_ for _ in dir() if not _.startswith('_')]