-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
72 lines (64 loc) · 2.1 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
from __future__ import print_function
import sys
import os
from setuptools import setup
def read_markdown(filename):
path = os.path.join(os.path.dirname(__file__), filename)
if not os.path.exists(path):
if 'sdist' in sys.argv:
print('WARNING: did not find %r' % filename, file=sys.stderro)
return
try:
import pypandoc
except ImportError:
if 'sdist' in sys.argv:
print('WARNING: Could not import pypandoc to convert README.md to RST!',
file=sys.stderr)
return open(path).read()
return pypandoc.convert(path, 'rst')
VERSION = '3.1.0'
setup(name='neleval',
version=VERSION,
download_url='https://github.com/wikilinks/neleval/tree/v' + VERSION,
description='Command-line evaluation tools for named entity linking and (cross-document) coreference resolution',
author='Joel Nothman, Ben Hachey, Will Radford',
author_email='[email protected]',
packages=['neleval'],
url='https://github.com/wikilinks/neleval',
keywords=['clustering', 'coreference', 'evaluation', 'entity disambiguation'],
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
],
licence='Apache 2.0',
long_description=open('README.rst').read(),
entry_points={
'console_scripts': [
'neleval = neleval.__main__:main',
],
},
install_requires=[
'numpy',
],
extras_require={
'significance': [
'joblib',
],
'ceaf': [
'scipy',
],
'plots': [
'matplotlib',
],
'dev': [
'pyflakes',
'nose',
],
}
)