forked from google/visqol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (25 loc) · 861 Bytes
/
setup.py
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
import os
from setuptools import setup
os.system("bazel build -c opt //:similarity_result_py_pb2")
os.system("bazel build -c opt //:visqol_config_py_pb2")
os.system("bazel build -c opt //python:visqol_lib_py.so")
setup(
name="visqol",
version="3.3.3",
url="https://github.com/google/visqol",
description="An objective, full-reference metric for perceived audio quality.",
packages=["visqol", "visqol.model", "visqol.pb2"],
package_dir={
"visqol": "bazel-bin/python",
"visqol.model": "model",
"visqol.pb2": "bazel-bin",
"external": "bazel-bin/external"
},
package_data={
"visqol": ["visqol_lib_py.so"],
"visqol.model": [
"lattice_tcditugenmeetpackhref_ls2_nl60_lr12_bs2048_learn.005_ep2400_train1_7_raw.tflite",
"libsvm_nu_svr_model.txt"
]
}
)