forked from kmike/pymorphy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (52 loc) · 2.04 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
#!/usr/bin/env python
from distutils.core import setup
import warnings
import sys
sys.path.insert(0, '..')
# Ignore warnings in python 2.5 way.
original_filters = warnings.filters[:]
warnings.simplefilter("ignore")
try:
# this will issue a warning in case of
# pymorphy + pymorphy-speedups update
# using single pip requirements file.
from pymorphy.version import __version__
finally:
warnings.filters = original_filters
for cmd in ('egg_info', 'develop', 'build_sphinx', 'upload_sphinx'):
if cmd in sys.argv:
from setuptools import setup
setup(
name = 'pymorphy',
version = __version__,
author = 'Mikhail Korobov',
author_email = '[email protected]',
url = 'https://bitbucket.org/kmike/pymorphy/',
download_url = 'https://bitbucket.org/kmike/pymorphy/get/v%s.zip' % __version__,
description = 'Morphological analyzer (POS tagger + inflection engine) for Russian and English (+perhaps German) languages.',
long_description = open('README').read() + open('docs/CHANGES.rst').read(),
license = 'MIT license',
packages = ['pymorphy',
'pymorphy.contrib',
'pymorphy.backends',
'pymorphy.backends.shelve_source',
'pymorphy.templatetags'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: Russian',
'Natural Language :: English',
'Natural Language :: German',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
],
)