Skip to content
setup.py 1.22 KiB
Newer Older
#!/usr/bin/python
# -*- coding: UTF-8 -*-

from setuptools import setup
################################################################################
# 
#    Version determination
# 
################################################################################

try:
    import versioneer
    version = versioneer.get_version()

except:
    version = "dev"
    
finally:
    import os
    os.chdir( os.path.split( os.path.abspath( __file__ ) )[ 0 ] )
    
    with open( "NIST/version.py", "w+" ) as fp:
        fp.write( "__version__ = '%s'" % version )

################################################################################
# 
#    Setup configuration
# 
################################################################################
setup( 
    name = 'NIST',
    description = 'Python library for manipulating NIST files (Data Format for the Interchange of Fingerprint, Facial & Other Biometric Information)',
    author = 'Marco De Donno',
    author_email = 'Marco.DeDonno@unil.ch; mdedonno1337@gmail.com',
    packages = [
        'NIST',
        'NIST.traditional',
        'NIST.fingerprint',
        'NIST.ULWLQMetric'