forked from L0SG/WaveFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (25 loc) · 753 Bytes
/
setup.py
File metadata and controls
30 lines (25 loc) · 753 Bytes
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
from pathlib import Path
from setuptools import find_packages, setup
THIS_DIR = Path(__file__).parent
def get_version(filename):
from re import findall
with open(filename) as f:
metadata = dict(findall("__([a-z]+)__ = '([^']+)'", f.read()))
return metadata['version']
setup(
name='waveflow',
version=get_version('waveflow/__init__.py'),
description='Waveflow vocoder model',
packages=find_packages(exclude=['test', 'test.*']),
install_requires=[
"torch==1.4.0",
"scikit-learn==0.21.3",
"pandas==0.25.1",
"future==0.17.1",
"tqdm==4.36.1",
"librosa==0.7.2",
"pillow==7.0.0",
"matplotlib==3.1.3",
],
package_dir={'waveflow': 'waveflow'}
)