-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
43 lines (38 loc) · 1.32 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
"""treetools: Tools for transforming treebank trees.
Setup module.
Author: Wolfgang Maier <maierw@hhu.de>
"""
from __future__ import print_function
import sys
from setuptools import setup
from distutils.version import LooseVersion
classifiers = """\
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Science/Research
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: OS Independent
Programming Language :: Python
Topic :: Text Processing :: Linguistic
"""
if LooseVersion(sys.version) < LooseVersion("3.7"):
print("Requires Python version >= 3.7")
sys.exit(1)
long_description = ""
with open("README.md") as readme_file:
long_description = readme_file.read()
setup(name = "treetools",
version = "0.4.0",
description = "Tools for processing treebank trees",
author = "Wolfgang Maier",
author_email = "wolfgang.maier@gmail.com",
url = "https://github.com/wmaier/treetools",
license = "GPLv3 or later",
platforms = ["any"],
packages = ["trees"],
scripts = ["treetools"],
keywords = ["treebanks", "trees", "grammar"],
download_url = "https://github.com/wmaier/treetools/archive/v0.4.0.tar.gz",
classifiers = filter(None, classifiers.split("\n")),
long_description = long_description,
)