-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·56 lines (49 loc) · 2 KB
/
setup.py
File metadata and controls
executable file
·56 lines (49 loc) · 2 KB
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
#!/usr/bin/env python
from distutils.core import setup
import warnings
import sys
sys.path.insert(0, '..')
with warnings.catch_warnings():
warnings.simplefilter("ignore")
# this will issue a warning in case of
# pymorphy + pymorphy-speedups update
# using single pip requirements file.
from pymorphy.version import __version__
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 = 'kmike84@gmail.com',
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.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Framework :: Django',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
],
)