diff --git a/setup.py b/setup.py index 799aa2b3e3c21ba5fbb3877ed2748b3b44cb59bf..20b461495823218eca37a19f9f19a9b07c375620 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ ''' -setup.py for ConvLab-2 +setup.py for ConvLab-3 ''' import sys import os @@ -11,22 +11,24 @@ class LibTest(TestCommand): def run_tests(self): # import here, cause outside the eggs aren't loaded - ret = os.system("pytest --cov=ConvLab-2 tests/ --cov-report term-missing") + ret = os.system("pytest --cov=ConvLab-3 tests/ --cov-report term-missing") sys.exit(ret >> 8) setup( - name='ConvLab-2', - version='1.0.0', + name='ConvLab', + version='3.0.0', packages=find_packages(exclude=[]), license='Apache', - description='Task-oriented Dialog System Toolkits', + description='An Open-source Dialog System Toolkits', long_description=open('README.md', encoding='UTF-8').read(), long_description_content_type="text/markdown", classifiers=[ - 'Development Status :: 2 - Pre-Alpha', + 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: Apache Software License', - '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', 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ], @@ -35,7 +37,7 @@ setup( 'numpy', 'nltk', 'scipy', - 'torch>=1.10.0', + 'torch>=1.6', 'transformers>=4.0', 'spacy', 'allennlp', @@ -65,15 +67,11 @@ setup( ] }, cmdclass={'test': LibTest}, - entry_points={ - 'console_scripts': [ - "ConvLab-2-report=convlab2.scripts:report" - ] - }, + entry_points={}, include_package_data=True, - url='https://github.com/thu-coai/ConvLab-2', + url='https://github.com/ConvLab/ConvLab-3', author='thu-coai', author_email='thu-coai-developer@googlegroups.com', - python_requires='>=3.5', + python_requires='>=3.6', zip_safe=False )