forked from pymorphy2/pymorphy2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (59 loc) · 2.16 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
#!/usr/bin/env python
from setuptools import setup
#from distutils.extension import Extension
#from Cython.Distutils import build_ext
def get_version():
with open("pymorphy2/version.py", "rt") as f:
return f.readline().split("=")[1].strip(' "\n')
setup(
name = 'pymorphy2',
version = get_version(),
author = 'Mikhail Korobov',
author_email = '[email protected]',
url = 'https://github.com/kmike/pymorphy2/',
description = 'Morphological analyzer (POS tagger + inflection engine) for Russian language.',
long_description = open('README.rst').read(),
license = 'MIT license',
packages = [
'pymorphy2',
'pymorphy2.units',
'pymorphy2.opencorpora_dict',
],
scripts=['bin/pymorphy'],
requires=[
'dawg_python (>= 0.7)',
'pymorphy2_dicts (>=2.4, <3.0)',
'docopt (>= 0.6)',
],
install_requires=[
'dawg-python >= 0.7',
'pymorphy2-dicts >=2.4, <3.0',
'docopt >= 0.6',
],
extras_require = {
'fast': ["DAWG >= 0.7.3"],
},
zip_safe=False,
# cmdclass = {'build_ext': build_ext},
# ext_modules = [Extension("pymorphy2.analyzer", ["pymorphy2/analyzer.py"])],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: Russian',
'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',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
],
)