1# HOOK FILE FOR SPACY
2from PyInstaller.utils.hooks import collect_all
3
4# ----------------------------- SPACY -----------------------------
5data = collect_all('spacy')
6
7datas = data[0]
8binaries = data[1]
9hiddenimports = data[2]
10
11# ----------------------------- THINC -----------------------------
12data = collect_all('thinc')
13
14datas += data[0]
15binaries += data[1]
16hiddenimports += data[2]
17
18# ----------------------------- CYMEM -----------------------------
19data = collect_all('cymem')
20
21datas += data[0]
22binaries += data[1]
23hiddenimports += data[2]
24
25# ----------------------------- PRESHED -----------------------------
26data = collect_all('preshed')
27
28datas += data[0]
29binaries += data[1]
30hiddenimports += data[2]
31
32# ----------------------------- BLIS -----------------------------
33
34data = collect_all('blis')
35
36datas += data[0]
37binaries += data[1]
38hiddenimports += data[2]
39
40# ----------------------------- OTHER ----------------------------
41
42hiddenimports += ['srsly.msgpack.util']
43
44
45from PyInstaller.utils.hooks import collect_data_files
46datas = collect_data_files("en_core_web_sm")