setup.py 5.83 KB
Newer Older
Pedro TOME's avatar
Pedro TOME committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Pedro Tome <pedro.tome@idiap.ch>
# Tue 25 Mar 18:18:08 2014 CEST
#
# Copyright (C) 2011-2014 Idiap Research Institute, Martigny, Switzerland
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# This file contains the python (distutils/setuptools) instructions so your
# package can be installed on **any** host system. It defines some basic
# information like the package name for instance, or its homepage.
#
# It also defines which other packages this python package depends on and that
# are required for this package's operation. The python subsystem will make
# sure all dependent packages are installed or will install them for you upon
# the installation of this package.
#
# The 'buildout' system we use here will go further and wrap this package in
# such a way to create an isolated python working environment. Buildout will
# make sure that dependencies which are not yet installed do get installed, but
# **without** requiring adminstrative privileges on the host system. This
# allows you to test your package with new python dependencies w/o requiring
# administrative interventions.

36 37
from setuptools import setup, dist
dist.Distribution(dict(setup_requires=['bob.extension']))
Pedro TOME's avatar
Pedro TOME committed
38

39 40
from bob.extension.utils import load_requirements, find_packages
install_requires = load_requirements()
Pedro TOME's avatar
Pedro TOME committed
41 42 43

setup(

44 45 46 47 48 49 50 51 52 53 54 55
    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',

    author='Andre Anjos',
    author_email='andre.anjos@idiap.ch',

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

Pedro TOME's avatar
Pedro TOME committed
56 57 58 59 60 61
    long_description=open('README.rst').read(),

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

62
    install_requires=install_requires,
Pedro TOME's avatar
Pedro TOME committed
63 64 65 66 67

    entry_points={

      # scripts should be declared using this entry:
      'console_scripts': [
68 69 70 71 72
	      'fingerveinverify.py = bob.bio.vein.script.fingerveinverify:main',
        'scores2spoofingfile.py = bob.bio.vein.script.scores2spoofingfile:main',
        #'scoresanalysis.py = bob.bio.vein.script.scoresanalysis:main',
        #'scoresfusion.py = bob.bio.vein.script.scoresfusion:main',
        #'plot_scatter_fusion.py = bob.bio.vein.script.plot_scatter_fusion:main',
Pedro TOME's avatar
Pedro TOME committed
73
      ],
74

Pedro TOME's avatar
Pedro TOME committed
75
      # registered database short cuts
76 77 78
      '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
79 80
      ],

81 82 83 84 85 86
      # 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
87

88
      ],
Pedro TOME's avatar
Pedro TOME committed
89 90

      # registered feature extractors
91 92 93 94 95 96
      'bob.bio.extractor': [
        'ncc-normalisedcrosscorr = bob.bio.vein.configurations.extractors.normalised_crosscorr:feature_extractor',
        'mc-maximumcurvature = bob.bio.vein.configurations.extractors.maximum_curvature:feature_extractor',
        'rlt-repeatedlinetracking = bob.bio.vein.configurations.extractors.repeated_line_tracking:feature_extractor',
        'wld-widelinedetector = bob.bio.vein.configurations.extractors.wide_line_detector:feature_extractor',
        'lbp-localbinarypatterns = bob.bio.vein.configurations.extractors.lbp:feature_extractor',
Pedro TOME's avatar
Pedro TOME committed
97 98 99
      ],

      # registered fingervein recognition algorithms
100 101 102 103 104 105 106 107 108
      '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
109 110 111

      # registered SGE grid configuration files
      'facereclib.grid': [
112 113 114 115 116 117 118 119
        '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',
        'small = bob.bio.vein.configurations.grid.small:grid',
Pedro TOME's avatar
Pedro TOME committed
120 121 122 123 124 125 126 127 128 129 130
      ],

      },

    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',
131
      'Programming Language :: Python :: 3',
Pedro TOME's avatar
Pedro TOME committed
132 133 134
      'Topic :: Scientific/Engineering :: Artificial Intelligence',
      'Topic :: Software Development :: Libraries :: Python Modules',
      ],
135

Pedro TOME's avatar
Pedro TOME committed
136
)