-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
executable file
·49 lines (41 loc) · 2.18 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
#! /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 = "FoLiA-Linguistic-Annotation-Tool",
version = "0.11.5", #Also change in flat/__init__.py !!
author = "Maarten van Gompel",
author_email = "[email protected]",
description = ("FLAT is a web-based linguistic annotation environment based around the FoLiA format (https://proycon.github.io/folia), a rich XML-based format for linguistic annotation. Flat allows users to view annotated FoLiA documents and enrich these documents with new annotations, a wide variety of linguistic annotation types is supported through the FoLiA paradigm."),
license = "GPL",
keywords = ["linguistics","annotation", "nlp","computational linguistics","folia"],
url = "https://github.com/proycon/flat",
packages=['flat','flat.modes','flat.modes.structureeditor','flat.modes.viewer','flat.modes.editor','flat.modes.metadata','flat.users','flat.users.migrations'],
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)",
],
python_requires='>=3.7',
zip_safe=False,
package_data = {'flat':['templates/*.html','style/*','script/*'], 'flat.modes.structureeditor':['templates/*.html'], 'flat.modes.viewer':['templates/*.html'], 'flat.modes.editor':['templates/*.html'], 'flat.modes.metadata':['templates/*.html'] },
install_requires=['folia >= 2.5.7','Django >= 3.0','requests', 'foliadocserve >= 0.7.8', 'mozilla-django-oidc']
)