update requirements and setup

This commit is contained in:
AnjanaRita
2021-11-21 13:03:37 +05:30
parent 34c35849d3
commit 19be952d45
4 changed files with 10 additions and 5 deletions

View File

@@ -1,11 +1,11 @@
[metadata] [metadata]
name = 'zeroshot_topics' name = 'zeroshot_topics'
version = '0.0.1' version = '0.0.1'
description = '' description = 'Topic Inference with Zeroshot models'
author = 'AnjanaRita' author = 'AnjanaRita'
author_email = 'ritaanjana1993@gmail.com' author_email = 'ritaanjana1993@gmail.com'
license = 'MIT/Apache-2.0' license = 'MIT/Apache-2.0'
url = 'https://github.com/_/zeroshot_topics' url = 'https://github.com/AnjanaRita/zeroshot_topics'
[requires] [requires]
python_version = ['2.7', '3.5', '3.6', 'pypy', 'pypy3'] python_version = ['2.7', '3.5', '3.6', 'pypy', 'pypy3']

View File

@@ -1 +1,4 @@
-e . attrs==20.3.0
nltk==3.6.5
keybert==0.5.0
transformers==4.11.0

View File

@@ -18,12 +18,12 @@ with open('zeroshot_topics/__init__.py', 'r') as f:
with open('README.rst', 'r', encoding='utf-8') as f: with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read() readme = f.read()
REQUIRES = [] REQUIRES = [i.strip() for i in open("requirements.txt").readlines()]
kwargs = { kwargs = {
'name': 'zeroshot_topics', 'name': 'zeroshot_topics',
'version': version, 'version': version,
'description': '', 'description': 'Topic Inference with Zeroshot models',
'long_description': readme, 'long_description': readme,
'author': 'AnjanaRita', 'author': 'AnjanaRita',
'author_email': 'ritaanjana1993@gmail.com', 'author_email': 'ritaanjana1993@gmail.com',

View File

@@ -1 +1,3 @@
__version__ = '0.0.1' __version__ = '0.0.1'
from .zeroshot_tm import ZeroShotTopicFinder