File size: 932 Bytes
19c8b95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# This is a junk file which imports a bunch of packages, to make it much more easy to deal with pyinstaller
# to package up all the correct dependencies. There are more proper ways to do this, but this is the easiest

import numpy
import traceback
import numpy.core.multiarray
import numpy.core
import numpy.core.overrides

try:
    import scipy
    import scipy.linalg
    import scipy.linalg.blas
    import scipy.special
    import scipy.optimize
    # import scipy.optimize.line_search
    import sklearn
    import sklearn.utils._cython_blas
    import sklearn.neighbors.typedefs
    import sklearn.neighbors.quad_tree
    import sklearn.tree
    import sklearn.tree._utils
except:
    print("==== scipy")
    print(traceback.format_exc())

from PyInstaller.utils.hooks import collect_data_files
datas = collect_data_files('sklearn')

try:
    import librosa
except:
    print("==== librosa")
    print(traceback.format_exc())