-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
34 lines (29 loc) · 957 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
28
29
30
31
32
33
34
from setuptools import setup, find_packages
import string
# Load description
def find_long_description():
with open('README.md', 'r') as f:
return f.read()
# Read the version string
def find_version():
version_var_name = '__version__'
with open('DistantSpeech/_version.py', 'r') as f:
for l in f:
if not l.startswith(version_var_name):
continue
return l[len(version_var_name) :].strip(string.whitespace + '\'"=')
raise RuntimeError('Unable to read version string.')
setup(
name='DistantSpeech',
# version=find_version(),
version='0.1.0',
description='A python package for distant speech enhancemnet.',
author='Wei Wang',
packages=[
"DistantSpeech",
],
# packages=find_packages(exclude=('docs',)),
python_requires='>=3.5',
install_requires=['numpy>=1.14.0', 'scipy>=1.1.0', 'matplotlib>=2.1.0', 'librosa'],
zip_safe=False,
)