forked from fgnt/pb_bss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (55 loc) · 1.62 KB
/
setup.py
File metadata and controls
65 lines (55 loc) · 1.62 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
import setuptools
try:
import numpy as np
from Cython.Build import cythonize
import scipy # nessesary for cython files
except ModuleNotFoundError as e:
raise ModuleNotFoundError("""
This package has some Cython files that will be compilled,\n
when you install this package. The Cython files use numpy and scipy.\n
Please install them before you install this packges:\n
'conda install numpy Cython scipy'
or
'pip install numpy Cython scipy'
""") from e
setuptools.setup(
name="pb_bss",
author="Lukas Drude",
author_email="mail@lukas-drude.de",
description="EM algorithms for integrated spatial and spectral models.",
long_description=open('README.md', encoding='utf-8').read(),
packages=setuptools.find_packages(),
install_requires=[
'dataclasses',
'matplotlib',
'scikit-learn',
'cached_property',
'einops',
'sympy', # Bingham mixture model symbolic solution dependency
# Metric dependencies
'mir_eval',
'pystoi',
'pesq'
],
extras_require={
'all': [
'soundFile',
'nara_wpe',
'lazy_dataset',
'jsonpickle',
'pytest',
'nose',
'parameterized',
'pytest-rerunfailures',
'paderbox @ git+https://github.com/fgnt/paderbox',
]
},
classifiers=[
'Programming Language :: Python :: 3.6',
],
ext_modules=cythonize([
'pb_bss/extraction/cythonized/get_gev_vector.pyx',
'pb_bss/extraction/cythonized/c_eig.pyx',
]),
include_dirs=[np.get_include()],
)