setup.py 1.51 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 27 28 29 30
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Thu 30 Jan 08:45:49 2014 CET

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

packages = ['bob-ap >= 1.3']
version = '2.0.0a0'

setup(

    name='xbob.ap',
    version=version,
    description='Bindings for Bob\'s audio processing utilities',
    url='http://github.com/anjos/xbob.ap',
    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
      'xbob.sp', # for testing
32
      'scipy', # for testing
André Anjos's avatar
André Anjos committed
33 34
    ],

35
    namespace_packages=[
André Anjos's avatar
André Anjos committed
36 37 38 39 40 41
      "xbob",
      ],

    ext_modules = [
      Extension("xbob.ap._library",
        [
42
          "xbob/ap/energy.cpp",
43
          "xbob/ap/frame_extractor.cpp",
44
          "xbob/ap/spectrogram.cpp",
45
          "xbob/ap/ceps.cpp",
André Anjos's avatar
André Anjos committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
          "xbob/ap/main.cpp",
          ],
        packages = packages,
        version = version,
        ),
      ],

    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',
      ],

    )