-
Notifications
You must be signed in to change notification settings - Fork 131
/
setup.py
58 lines (42 loc) · 1.7 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
46
47
48
49
50
51
52
53
54
55
56
57
from codecs import open
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Get a version from file
with open(path.join(here, 'VERSION')) as version_file:
version = f"{version_file.read().strip()}"
REQUIRED_PKGS = [
'spark-nlp>=5.0.2',
'numpy',
'pyarrow>=0.16.0',
'pandas>=1.3.5',
'dataclasses'
]
setup(
name='nlu',
version=version,
description='John Snow Labs NLU provides state of the art algorithms for NLP&NLU with 20000+ of pretrained models in 200+ languages. It enables swift and simple development and research with its powerful Pythonic and Keras inspired API. It is powerd by John Snow Labs powerful Spark NLP library.',
long_description=long_description,
install_requires=REQUIRED_PKGS,
long_description_content_type='text/markdown',
url='http://nlu.johnsnowlabs.com',
author='John Snow Labs',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='NLP spark development NLU ',
packages=find_packages(exclude=['test*', 'tmp*']),
include_package_data=True
)