setup.py 3.72 KB
Newer Older
Pedro TOME's avatar
Pedro TOME committed
1 2 3
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :

4 5
from setuptools import setup, dist
dist.Distribution(dict(setup_requires=['bob.extension']))
Pedro TOME's avatar
Pedro TOME committed
6

7 8
from bob.extension.utils import load_requirements, find_packages
install_requires = load_requirements()
Pedro TOME's avatar
Pedro TOME committed
9 10 11

setup(

12 13 14 15 16 17 18
    name='bob.bio.vein',
    version=open("version.txt").read().rstrip(),
    description='Vein recognition based on Bob and the bob.bio framework',

    url='https://gitlab.idiap.ch/biometric/bob.bio.vein',
    license='GPLv3',

19 20
    author='Andre Anjos,Pedro Tome',
    author_email='andre.anjos@idiap.ch,pedro.tome@idiap.ch',
21 22 23

    keywords = "bob, biometric recognition, evaluation, vein",

Pedro TOME's avatar
Pedro TOME committed
24 25 26 27 28 29
    long_description=open('README.rst').read(),

    packages=find_packages(),
    include_package_data=True,
    zip_safe = False,

30
    install_requires=install_requires,
Pedro TOME's avatar
Pedro TOME committed
31 32 33 34

    entry_points={

      # registered database short cuts
35 36 37
      'bob.bio.database': [
        'utfvp = bob.bio.vein.configurations.databases.utfvp:database',
        'vera = bob.bio.vein.configurations.databases.vera:database',
Pedro TOME's avatar
Pedro TOME committed
38 39
      ],

40 41 42 43 44 45
      # registered preprocessors
      'bob.bio.preprocessor': [
        'none = bob.bio.vein.configurations.preprocessors.finger_crop_None_None:preprocessor',
        'histeq = bob.bio.vein.configurations.preprocessors.finger_crop_None_HE:preprocessor',
        'highfreq = bob.bio.vein.configurations.preprocessors.finger_crop_None_HFE:preprocessor',
        'circGabor = bob.bio.vein.configurations.preprocessors.finger_crop_None_CircGabor:preprocessor',
Pedro TOME's avatar
Pedro TOME committed
46

47
      ],
Pedro TOME's avatar
Pedro TOME committed
48 49

      # registered feature extractors
50
      'bob.bio.extractor': [
51 52 53 54 55
        'normalisedcrosscorr = bob.bio.vein.configurations.extractors.normalised_crosscorr:feature_extractor',
        'maximumcurvature = bob.bio.vein.configurations.extractors.maximum_curvature:feature_extractor',
        'repeatedlinetracking = bob.bio.vein.configurations.extractors.repeated_line_tracking:feature_extractor',
        'widelinedetector = bob.bio.vein.configurations.extractors.wide_line_detector:feature_extractor',
        'localbinarypatterns = bob.bio.vein.configurations.extractors.lbp:feature_extractor',
Pedro TOME's avatar
Pedro TOME committed
56 57 58
      ],

      # registered fingervein recognition algorithms
59 60 61 62 63 64 65 66 67
      'bob.bio.algorithm': [
        'match-wld = bob.bio.vein.configurations.algorithms:huangwl_tool',
        'match-wld-gpu = bob.bio.vein.configurations.algorithms:huangwl_gpu_tool',
        'match-mc = bob.bio.vein.configurations.algorithms:miuramax_tool',
        'match-mc-gpu = bob.bio.vein.configurations.algorithms:miuramax_gpu_tool',
        'match-rlt = bob.bio.vein.configurations.algorithms:miurarlt_tool',
        'match-rlt-gpu = bob.bio.vein.configurations.algorithms:miurarlt_gpu_tool',
        #'match-lbp = bob.bio.face.configurations.algorithms.lgbphs:tool',
       ],
Pedro TOME's avatar
Pedro TOME committed
68 69 70

      # registered SGE grid configuration files
      'facereclib.grid': [
71 72 73 74 75 76 77
        'gpu = bob.bio.vein.configurations.grid.gpu:grid',
        'gpu2 = bob.bio.vein.configurations.grid.gpu2:grid',
        'gpu3 = bob.bio.vein.configurations.grid.gpu3:grid',
        'grid = bob.bio.vein.configurations.grid.grid:grid',
        'demanding = bob.bio.vein.configurations.grid.demanding:grid',
        'very-demanding = bob.bio.vein.configurations.grid.very_demanding:grid',
        'gbu = bob.bio.vein.configurations.grid.gbu:grid',
Pedro TOME's avatar
Pedro TOME committed
78 79 80 81 82 83 84 85 86 87 88
      ],

      },

    classifiers = [
      'Framework :: Bob',
      'Development Status :: 4 - Beta',
      'Intended Audience :: Science/Research',
      'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
      'Natural Language :: English',
      'Programming Language :: Python',
89
      'Programming Language :: Python :: 3',
Pedro TOME's avatar
Pedro TOME committed
90 91 92
      'Topic :: Scientific/Engineering :: Artificial Intelligence',
      'Topic :: Software Development :: Libraries :: Python Modules',
      ],
93

Pedro TOME's avatar
Pedro TOME committed
94
)