-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 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
46
47
#!/usr/bin/env python
from codecs import open
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('morfessorcognate/__init__.py', encoding='utf-8').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'python-Levenshtein',
]
setup(name='Morfessor-cognate',
version=metadata['version'],
author=metadata['author'],
author_email='[email protected]',
url='http://morpho.aalto.fi',
description='Morfessor',
packages=['morfessorcognate', 'morfessorcognate.constructions'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
license="BSD",
scripts=[#'scripts/morfessor',
#'scripts/morfessor-train',
#'scripts/morfessor-segment',
#'scripts/morfessor-evaluate',
#'scripts/tune_tokensync.py',
#'scripts/tune_tokensync_init.py',
#'scripts/tune_tokensync_pseudocounts.py',
'scripts/morfessorcognate-train',
'scripts/morfessorcognate-segment',
],
install_requires=requires,
extras_require={
'docs': [l.strip() for l in open('docs/build_requirements.txt')]
}
)