__init__.py 1.58 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
from .ijbc import IJBCBioDatabase
17
18
19
from .xm2vts import XM2VTSBioDatabase
from .frgc import FRGCBioDatabase
from .scface import SCFaceBioDatabase
20
from .replaymobile import ReplayMobileBioDatabase
21
from .msu_mfsd_mod import MsuMfsdModBioDatabase
22
23

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


26
27
28
29
30
31
32
33
34
35
36
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>`
  """

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

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