-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·34 lines (29 loc) · 1.4 KB
/
setup.py
File metadata and controls
executable file
·34 lines (29 loc) · 1.4 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
#!/usr/bin/env python3
"""
Setup script for distutils, module majka.
"""
from distutils.core import setup, Extension
setup(name='majka',
version='0.8',
description='Wrapper for Majka morphological analyser',
long_description='''
Native cPython binding to a C++ implementation of morphological analyser named Majka.
Tags returned from the analyser are also transcribed into a native Python dictionary
to enable a much more Python-like experience without a need to study the documentation.
Based on code of Pavel Smerk and Pavel Rychly, NLP group at MUNI, Czech Republic.
Morphological automatons are distributed separately under different licences.
See http://nlp.fi.muni.cz/ma/''',
author='Petr Pulc',
author_email='petrpulc@gmail.com',
url='https://github.com/petrpulc/python-majka',
ext_modules=[Extension(name='majka',
sources=['majka/majka.cc', 'majkamodule.cpp'],
define_macros=[('UTF', 1)],
language='c++')],
classifiers=['Environment :: Plugins',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: C++',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic']
)