-
Notifications
You must be signed in to change notification settings - Fork 108
/
setup.py
46 lines (38 loc) · 1.53 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
from setuptools import setup, find_packages
import masr
MASR_VERSION = masr.__version__
def readme():
with open('README.md', encoding='utf-8') as f:
content = f.read()
return content
def parse_requirements(fname):
with open(fname, encoding="utf-8-sig") as f:
requirements = f.readlines()
return requirements
if __name__ == "__main__":
setup(
name='masr',
packages=find_packages(exclude='download_data/'),
package_data={'': ['infer_utils/silero_vad.onnx']},
author='yeyupiaoling',
version=MASR_VERSION,
install_requires=parse_requirements('./requirements.txt'),
description='Automatic speech recognition toolkit on Pytorch',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/yeyupiaoling/MASR',
download_url='https://github.com/yeyupiaoling/MASR.git',
keywords=['asr', 'pytorch'],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Natural Language :: Chinese (Simplified)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Topic :: Utilities'
],
license='Apache License 2.0',
ext_modules=[])