-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
executable file
·51 lines (44 loc) · 1.87 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 python3
# -*- coding: utf8 -*-
from __future__ import print_function
import os
import sys
from setuptools import setup
try:
os.chdir(os.path.dirname(sys.argv[0]))
except:
pass
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "foliadocserve",
version = "0.7.8", #also change VERSION in foliadocserve.py!
author = "Maarten van Gompel",
author_email = "[email protected]",
description = ("The FoLiA Document Server is a backend HTTP service to interact with documents in the FoLiA format, a rich XML-based format for linguistic annotation (http://proycon.github.io/folia). It provides an interface to efficiently edit FoLiA documents through the FoLiA Query Language (FQL). "),
license = "GPL",
keywords = "nlp computational_linguistics rest database document server",
url = "https://github.com/proycon/foliadocserve",
packages=['foliadocserve'],
long_description=read('README.rst'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Text Processing :: Linguistic",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: POSIX",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
entry_points = {
'console_scripts': [
'foliadocserve = foliadocserve.foliadocserve:main'
]
},
package_data = {'foliadocserve':['templates/index.html','testflat.folia.xml'] },
install_requires=['lxml >= 2.2','folia >= 2.5.4','pynlpl','FoLiA-tools >= 2.5.2','cherrypy','Jinja2']
)