From fdf8606b35cbccd4a630b92ca1555f3ba8bed2a2 Mon Sep 17 00:00:00 2001 From: Kimi Li Date: Tue, 31 Jan 2023 16:44:29 -0500 Subject: [PATCH] fix: uncomment setup --- setup.py | 85 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 43 deletions(-) diff --git a/setup.py b/setup.py index 12cde3560..a5d017d26 100644 --- a/setup.py +++ b/setup.py @@ -142,46 +142,45 @@ def get_extra_requirements() -> dict: requirements[entry] = filter_requirements(req_string) return requirements -print(get_default_requirements()) - -# setup( -# name=NAME, -# version=__version__, -# description="NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentation", -# author_email="nl-augmenter@googlegroups.com", - -# long_description=read("README.md"), -# long_description_content_type="text/markdown", -# license="MIT", -# url="https://github.com/GEM-benchmark/NL-Augmenter", -# project_urls={ -# "Bug Tracker": "https://github.com/GEM-benchmark/NL-Augmenter/issues", -# "Web Page": "https://gem-benchmark.com/nl_augmenter", -# }, -# install_requires=get_default_requirements(), -# extras_require=get_extra_requirements(), -# keywords=[ -# "augmentation", -# "natural language processing", -# "NLP", -# "filters", -# "deep learning", -# "text processing", -# "machine learning", -# ], -# classifiers=[ -# "License :: OSI Approved :: MIT License", -# "Intended Audience :: Developers", -# "Intended Audience :: Information Technology", -# "Intended Audience :: Science/Research", -# "Programming Language :: Python :: 3", -# "Programming Language :: Python :: 3.7", -# "Operating System :: OS Independent", -# ], -# packages=find_packages(exclude=["test", "docs"]), -# package_data={ -# "": ["*.json", "*.txt", "*.tsv", "*.csv", "*.npz", "*.ckpt"] -# }, -# include_package_data=True, -# python_requires=">=3.7", -# ) + +setup( + name=NAME, + version=__version__, + description="NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentation", + author_email="nl-augmenter@googlegroups.com", + + long_description=read("README.md"), + long_description_content_type="text/markdown", + license="MIT", + url="https://github.com/GEM-benchmark/NL-Augmenter", + project_urls={ + "Bug Tracker": "https://github.com/GEM-benchmark/NL-Augmenter/issues", + "Web Page": "https://gem-benchmark.com/nl_augmenter", + }, + install_requires=get_default_requirements(), + extras_require=get_extra_requirements(), + keywords=[ + "augmentation", + "natural language processing", + "NLP", + "filters", + "deep learning", + "text processing", + "machine learning", + ], + classifiers=[ + "License :: OSI Approved :: MIT License", + "Intended Audience :: Developers", + "Intended Audience :: Information Technology", + "Intended Audience :: Science/Research", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Operating System :: OS Independent", + ], + packages=find_packages(exclude=["test", "docs"]), + package_data={ + "": ["*.json", "*.txt", "*.tsv", "*.csv", "*.npz", "*.ckpt"] + }, + include_package_data=True, + python_requires=">=3.7", +)