-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
51 lines (43 loc) · 1.63 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
#! /usr/bin/env python
# -*- coding: utf8 -*-
from __future__ import print_function
import os
import sys
from setuptools import setup, find_packages
try:
from codemeta.codemeta import CodeMetaCommand
cmdclass={
'codemeta': CodeMetaCommand,
}
except ImportError:
cmdclass={}
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname),'r',encoding='utf-8').read()
setup(
name = "FoLiA",
version = "2.5.12", #edit LIBVERSION in __init__.py as well
author = "Maarten van Gompel",
author_email = "proycon@anaproy.nl",
description = ("An extensive library for processing FoLiA documents. FoLiA stands for Format for Linguistic Annotation and is a very rich XML-based format used by various Natural Language Processing tools."),
license = "GPL-3.0-only",
keywords = [ "nlp", "computational linguistics", "folia", "format", "xml", "annotation"],
url = "https://github.com/proycon/foliapy",
packages=['folia'],
long_description=read('README.rst'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Text Processing :: Linguistic",
"Programming Language :: Python :: 3",
"Operating System :: POSIX",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
python_requires=">=3.7",
zip_safe=False,
include_package_data=True,
package_data = {'folia': ['tests/test.sh'] },
install_requires=['lxml >= 2.2','rdflib', 'requests'],
entry_points = { 'console_scripts': [] },
cmdclass=cmdclass,
)