setup.py 1.89 KB
Newer Older
André Anjos's avatar
André Anjos committed
1
2
3
4
5
6
7
8
9
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Mon 16 Apr 08:18:08 2012 CEST

from setuptools import setup, find_packages, dist
dist.Distribution(dict(setup_requires=['xbob.blitz']))
from xbob.blitz.extension import Extension

André Anjos's avatar
André Anjos committed
10
packages = ['bob-measure >= 1.2.2']
André Anjos's avatar
André Anjos committed
11
12
13
14
version = '2.0.0a0'

setup(

15
    name='xbob.measure',
André Anjos's avatar
André Anjos committed
16
    version=version,
17
    description='Bindings for bob.measure',
André Anjos's avatar
André Anjos committed
18
    url='http://github.com/bioidiap/xbob.measure',
André Anjos's avatar
André Anjos committed
19
20
21
22
23
24
25
26
27
28
29
30
    license='BSD',
    author='Andre Anjos',
    author_email='andre.anjos@idiap.ch',

    long_description=open('README.rst').read(),

    packages=find_packages(),
    include_package_data=True,

    install_requires=[
      'setuptools',
      'xbob.blitz',
31
32
      'xbob.math',
      'xbob.io',
André Anjos's avatar
André Anjos committed
33
      'matplotlib',
André Anjos's avatar
André Anjos committed
34
35
36
37
38
39
40
    ],

    namespace_packages=[
      "xbob",
      ],

    ext_modules = [
André Anjos's avatar
André Anjos committed
41
42
43
44
45
46
47
      Extension("xbob.measure.version",
        [
          "xbob/measure/version.cpp",
          ],
        packages = packages,
        version = version,
        ),
48
      Extension("xbob.measure._library",
André Anjos's avatar
André Anjos committed
49
        [
50
          "xbob/measure/main.cpp",
André Anjos's avatar
André Anjos committed
51
52
          ],
        packages = packages,
53
        version = version,
André Anjos's avatar
André Anjos committed
54
55
56
57
58
        ),
      ],

    entry_points={
      'console_scripts': [
59
60
61
62
        'xbob_compute_perf.py = xbob.measure.script.compute_perf:main',
        'xbob_eval_threshold.py = xbob.measure.script.eval_threshold:main',
        'xbob_apply_threshold.py = xbob.measure.script.apply_threshold:main',
        'xbob_plot_cmc.py = xbob.measure.script.plot_cmc:main',
André Anjos's avatar
André Anjos committed
63
64
65
66
67
68
69
70
71
72
73
74
75
76
        ],
      },

    classifiers = [
      'Development Status :: 3 - Alpha',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: BSD License',
      'Natural Language :: English',
      'Programming Language :: Python',
      'Programming Language :: Python :: 3',
      'Topic :: Software Development :: Libraries :: Python Modules',
      ],

    )