forked from pyconll/pyconll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (38 loc) · 1.17 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
from distutils.core import setup
import os
def read(fn):
"""
Read the contents of the provided filename.
Args:
fn: The filename to read in.
Returns:
The contents of the file.
"""
abs_fn = os.path.join(os.path.dirname(__file__), fn)
f = open(abs_fn)
contents = f.read()
f.close()
return contents
setup(
name = 'pyconll',
packages = ['pyconll'],
version = '0.2',
description = 'Read and maniuplate CoNLL files',
long_description = read('README.rst'),
author = 'Matias Grioni',
author_email = '[email protected]',
url = 'https://github.com/matgrioni/pyconll',
license = 'MIT',
keywords = ['nlp', 'conllu', 'conll', 'universal dependencies'],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering',
'Topic :: Utilities'
]
)