-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
84 lines (69 loc) · 2.08 KB
/
Copy pathsetup.py
File metadata and controls
84 lines (69 loc) · 2.08 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Thu 30 Jan 08:45:49 2014 CET
bob_packages = ['bob.core', 'bob.sp']
from setuptools import setup, find_packages, dist
dist.Distribution(dict(setup_requires=['bob.extension', 'bob.blitz'] + bob_packages))
from bob.blitz.extension import Extension, Library, build_ext
from bob.extension.utils import load_requirements
build_requires = load_requirements()
version = open('version.txt').read().rstrip()
setup(
name='bob.ap',
version=version,
description='Bob\'s audio processing utilities',
url='https://gitlab.idiap.ch/bob/bob.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,
zip_safe=False,
setup_requires = build_requires,
install_requires = build_requires,
ext_modules = [
Extension("bob.ap.version",
[
"bob/ap/version.cpp",
],
version = version,
bob_packages = bob_packages,
),
Library("bob.ap.bob_ap",
[
"bob/ap/cpp/Energy.cpp",
"bob/ap/cpp/FrameExtractor.cpp",
"bob/ap/cpp/Spectrogram.cpp",
"bob/ap/cpp/Ceps.cpp",
],
version = version,
bob_packages = bob_packages,
),
Extension("bob.ap._library",
[
"bob/ap/energy.cpp",
"bob/ap/frame_extractor.cpp",
"bob/ap/spectrogram.cpp",
"bob/ap/ceps.cpp",
"bob/ap/main.cpp",
],
version = version,
bob_packages = bob_packages,
),
],
cmdclass = {
'build_ext': build_ext
},
classifiers = [
'Framework :: Bob',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)