-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (31 loc) · 1.01 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
from Cython.Distutils import build_ext
from setuptools import setup, Extension
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
ext_modules = [
Extension('miner.utils', sources=['miner/utils.pyx'], language='c++')
]
setup(
name='mi-ner',
version='0.6.1',
description='A python library for named entity recognition evaluation',
long_description=readme,
long_description_content_type='text/markdown',
author='Ryuya Ikeda',
author_email='[email protected]',
url='https://github.com/Andolab/miNER',
license='MIT',
keywords=['named entity recognition', 'nlp',
'natural language processing'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Text Processing',
],
install_requires=['cython'],
packages=['miner'],
test_suite='tests',
ext_modules=ext_modules,
cmdclass={'build_ext': build_ext}
)