-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathsetup.py
45 lines (43 loc) · 1.59 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
from setuptools import setup, find_packages
with open('README.md', 'r', encoding="utf-8") as f:
readme = f.read()
version = '0.4.4'
setup(
name='tweetnlp',
packages=find_packages(exclude=["assets", "tests"]),
version=version,
license='MIT',
description='NLP library for Twitter.',
url='https://github.com/cardiffnlp/tweetnlp',
download_url="https://github.com/cardiffnlp/tweetnlp/archive/{}.tar.gz".format(version),
keywords=['tweet', 'nlp', 'language-model'],
long_description=readme,
long_description_content_type="text/markdown",
author='Asahi Ushio',
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
'Intended Audience :: Developers', # Define that your audience are developers
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License', # Again, pick a license
'Programming Language :: Python :: 3', #Specify which pyhton versions that you want to support
],
include_package_data=True,
test_suite='tests',
install_requires=[
"ray[tune]",
"ray",
'numpy',
'urlextract',
"transformers<=4.21.2", # push-to-model is not working for latest version
"huggingface-hub<=0.9.1",
'sentence_transformers',
'torch',
'datasets'
],
python_requires='>=3.6',
entry_points={
'console_scripts': [],
}
)