setup.py 2.34 KB
Newer Older
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
1
2
3
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Laurent El Shafey <Laurent.El-Shafey@idiap.ch>
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Copyright (C) 2011-2013 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/>.
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
18

Manuel Günther's avatar
Manuel Günther committed
19
20
21
22
23
from setuptools import setup, find_packages, dist
dist.Distribution(dict(setup_requires=['bob.extension']))

from bob.extension.utils import load_requirements
install_requires = load_requirements()
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
24

25
26
27
# Define package version
version = open("version.txt").read().rstrip()

Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
28
29
30
31
# The only thing we do in this file is to call the setup() function with all
# parameters that define our package.
setup(

Manuel Günther's avatar
Manuel Günther committed
32
    name='bob.db.mnist',
33
    version=version,
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
34
    description='MNIST Database Access API for Bob',
35
    url='https://github.com/bioidiap/bob.db.mnist',
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
36
37
38
    license='GPLv3',
    author='Laurent El Shafey',
    author_email='laurent.el-shafey@idiap.ch',
Manuel Günther's avatar
Manuel Günther committed
39
    keywords='digit recognition, bob, bob.db, mnist',
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
40
41
42
43
44
45
46
    long_description=open('README.rst').read(),

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

Manuel Günther's avatar
Manuel Günther committed
47
    install_requires = install_requires,
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
48

49

Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
50
51
52
53

    entry_points={
      # declare database to bob
      'bob.db': [
Manuel Günther's avatar
Manuel Günther committed
54
55
56
        'mnist = bob.db.mnist.driver:Interface',
      ],
    },
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
57
58

    classifiers = [
59
      'Framework :: Bob',
Manuel Günther's avatar
Manuel Günther committed
60
      'Development Status :: 4 - Beta',
61
      'Environment :: Console',
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
62
      'Intended Audience :: Developers',
63
64
      'Intended Audience :: Education',
      'Intended Audience :: Science/Research',
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
65
66
67
      'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
      'Natural Language :: English',
      'Programming Language :: Python',
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
68
      'Programming Language :: Python :: 3',
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
69
70
      'Topic :: Scientific/Engineering :: Artificial Intelligence',
      'Topic :: Database :: Front-Ends',
Manuel Günther's avatar
Manuel Günther committed
71
    ],
Laurent EL SHAFEY's avatar
Laurent EL SHAFEY committed
72
)