-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
executable file
·45 lines (42 loc) · 1.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
#!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst') as file:
long_description = file.read()
except IOError:
long_description = "missing"
setup(
name='segtok',
version='1.5.11',
url='https://github.com/fnl/segtok',
author='Florian Leitner',
author_email='[email protected]',
description='sentence segmentation and word tokenization tools',
keywords='sentence segmenter splitter split word tokenizer token',
license='MIT',
license_files=('LICENSE.txt',),
packages=['segtok'],
install_requires=['regex'], # handles all Unicode categories in Regular Expressions
long_description=long_description,
entry_points={
'console_scripts': [
'tokenizer = segtok.tokenizer:main',
'segmenter = segtok.segmenter:main',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries',
'Topic :: Text Processing',
'Topic :: Text Processing :: Linguistic',
],
)