-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
47 lines (40 loc) · 1.35 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
from pathlib import Path
from setuptools import find_packages, setup
requirements = Path(__file__).parent / 'requirements/core.txt'
with requirements.open(mode='rt', encoding='utf-8') as fp:
install_requires = [line.strip() for line in fp]
readme = Path(__file__).parent / 'README.rst'
with readme.open(mode='rt', encoding='utf-8') as fp:
readme_text = fp.read()
VERSION = '0.1.0'
setup(
name='lexrank',
maintainer='Luka Shostenko',
maintainer_email='[email protected]',
version='{version}'.format(
version=VERSION,
),
description='LexRank text summarization',
long_description=readme_text,
keywords=[
'lex', 'rank', 'lexrank', 'algorithm', 'text', 'summary',
'summarization',
],
license='MIT',
author='Luka Shostenko',
author_email='[email protected]',
url='https://github.com/crabcamp/lexrank',
download_url='https://github.com/crabcamp/lexrank/archive/{version}.tar.gz'.format( # noqa
version=VERSION,
),
packages=find_packages(include=['lexrank.*']),
py_modules=['lexrank.settings'],
python_requires='>=3.5.0',
install_requires=install_requires,
include_package_data=True,
entry_points={
'console_scripts': [
'lexrank_assemble_stopwords = lexrank.tools.assemble_stopwords:entrypoint', # noqa
],
},
)