forked from miso-belica/sumy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
105 lines (94 loc) · 2.94 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
VERSION_SUFFIX = "%d.%d" % sys.version_info[:2]
with open("README.rst") as readme:
with open("CHANGELOG.rst") as changelog:
long_description = readme.read() + "\n\n" + changelog.read()
setup(
name="sumy",
version="0.3.0",
description="Module for automatic summarization of text documents and HTML pages.",
long_description=long_description,
author="Michal Belica",
author_email="miso.belica@gmail.com",
url="https://github.com/miso-belica/sumy",
license="Apache License, Version 2.0",
keywords=[
"data mining",
"automatic summarization",
"data reduction",
"web-data extraction",
"NLP",
"natural language processing",
"latent semantic analysis",
"LSA",
"TextRank",
"LexRank",
],
install_requires=[
"docopt>=0.6.1,<0.7",
"breadability>=0.1.20",
"nltk>=3.0.2",
],
tests_require=[
"nose",
"coverage",
],
test_suite="nose.collector",
extras_require={
"LSA": ["numpy"],
"LexRank": ["numpy"],
},
packages=[
"sumy",
"sumy.evaluation",
"sumy.models",
"sumy.models.dom",
"sumy.nlp",
"sumy.nlp.stemmers",
"sumy.parsers",
"sumy.summarizers",
],
package_data={"sumy": [
"data/stopwords/*.txt",
]},
entry_points={
"console_scripts": [
"sumy = sumy.__main__:main",
"sumy-%s = sumy.__main__:main" % VERSION_SUFFIX,
"sumy_eval = sumy.evaluation.__main__:main",
"sumy_eval-%s = sumy.evaluation.__main__:main" % VERSION_SUFFIX,
]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: Czech",
"Natural Language :: Slovak",
"Natural Language :: English",
"Natural Language :: German",
"Natural Language :: French",
"Topic :: Education",
"Topic :: Internet",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Linguistic",
"Topic :: Text Processing :: Markup :: HTML",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
],
)