setup.py 1.49 KB
Newer Older
André Anjos's avatar
André Anjos 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
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Sex 10 Ago 2012 14:22:33 CEST

from setuptools import setup, find_packages

# The only thing we do in this file is to call the setup() function with all
# parameters that define our package.
setup(

    name='bob.db.replay',
    version='master',
    description='Replay Attack Database Access API for Bob',
    url='http://github.com/bioidiap/bob.db.replay',
    license='LICENSE.txt',
    author_email='Andre Anjos <andre.anjos@idiap.ch>',
    #long_description=open('doc/howto.rst').read(),

    # This line is required for any distutils based packaging.
    packages=find_packages(),

    # Always include your .sql3 file with the package data. This will make sure
    # it is packaged correctly for PyPI uploads or for any other package
    # management system such as Ubuntu's.
    package_data = {
André Anjos's avatar
André Anjos committed
27
28
      '': [
        'README.rst',
André Anjos's avatar
André Anjos committed
29
        ],
André Anjos's avatar
André Anjos committed
30
31
32
33
34
35
36
37
38
39
40
41
      'replay': [
        'db/db.sql3',
        ],
      },

    install_requires=[
        "bob == master",  # base signal proc./machine learning library
    ],

    entry_points={
      'console_scripts': [
        # for tests or db creation, enable the following line:
André Anjos's avatar
André Anjos committed
42
        #'replay_manager.py = bob.db.script.dbmanage:main',
André Anjos's avatar
André Anjos committed
43
        ],
André Anjos's avatar
André Anjos committed
44
45
      
      # bob database declaration
André Anjos's avatar
André Anjos committed
46
      'bob.db': [
André Anjos's avatar
André Anjos committed
47
        'replay = replay.db.driver:Interface',
André Anjos's avatar
André Anjos committed
48
49
50
        ],

      # bob unittest declaration
André Anjos's avatar
André Anjos committed
51
      'bob.test': [
André Anjos's avatar
André Anjos committed
52
        'replay = replay.test:ReplayDatabaseTest',
André Anjos's avatar
André Anjos committed
53
        ],
André Anjos's avatar
André Anjos committed
54
55
56
      },

)