-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
72 lines (68 loc) · 2.49 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import setuptools
import os
__local__ = os.path.abspath(os.path.dirname(__file__))
f_version = os.path.join(__local__, "nlpre", "_version.py")
exec(open(f_version).read())
# Get the long description from the relevant file
long_description = """NLPre
=================================
A collection of Natural Language Preprocessing (NLPre) utilities, suitable
for a pipeline.
"""
setuptools.setup(
name="nlpre",
packages=setuptools.find_packages(),
# Include package data...
include_package_data=True,
install_requires=[
# NLP core libraries
"unidecode",
"pyparsing",
"flashtext",
# See https://github.com/explosion/spaCy/issues/1099 for dataset
# Fix the minor version so model doesn't change
"spacy==2.1.0",
# Fix the version of mysqlclient due to windows problems
# "mysqlclient==1.3.12",
# For parallel processing
"joblib",
],
description="Natural Language Preprocessing (NLPre) utilities.",
long_description=long_description,
version=__version__,
# The project's main homepage.
url="https://github.com/NIHOPA/NLPre",
# download_url='https://github.com/NIHOPA/NLPre/archive/v2.0.0.zip',
# Author details
author="Travis Hoppe",
author_email="[email protected]",
# Choose your license
license="CC0",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 -Production/Stable
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Education",
"Intended Audience :: Financial and Insurance Industry",
"Natural Language :: English",
"Topic :: Text Processing",
"Topic :: Text Processing :: Filters",
"Topic :: Utilities",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3.6",
],
# What does your project relate to?
keywords="NLP",
test_suite="nose.collector",
tests_require=["nose"],
)