46 lines
1.5 KiB
Python
46 lines
1.5 KiB
Python
from setuptools import setup, find_packages
|
|
|
|
import mvector
|
|
|
|
VERSION = mvector.__version__
|
|
|
|
def readme():
|
|
with open('README.md', encoding='utf-8') as f:
|
|
content = f.read()
|
|
return content
|
|
|
|
|
|
def parse_requirements():
|
|
with open('./requirements.txt', encoding="utf-8") as f:
|
|
requirements = f.readlines()
|
|
return requirements
|
|
|
|
|
|
if __name__ == "__main__":
|
|
setup(
|
|
name='mvector',
|
|
packages=find_packages(),
|
|
author='yeyupiaoling',
|
|
version=VERSION,
|
|
install_requires=parse_requirements(),
|
|
description='Voice Print Recognition toolkit on Pytorch',
|
|
long_description=readme(),
|
|
long_description_content_type='text/markdown',
|
|
url='https://github.com/yeyupiaoling/VoiceprintRecognition_Pytorch',
|
|
download_url='https://github.com/yeyupiaoling/VoiceprintRecognition_Pytorch.git',
|
|
keywords=['Voice', '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',
|
|
'Programming Language :: Python :: 3.9', 'Topic :: Utilities'
|
|
],
|
|
license='Apache License 2.0',
|
|
ext_modules=[])
|