-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
76 lines (73 loc) · 2.5 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# setup.py
#
# See:
# https://packaging.python.org/guides/distributing-packages-using-setuptools/
# https://github.com/pypa/sampleproject
#
# Copyright (C) 2020 jumanjiman (Paul Morgan) <jumanjiman@gmail.com>
#
# This file is part of foal.
#
# foal is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# foal is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with foal. If not, see <http://www.gnu.org/licenses/>.
################################################################################
"""FOAL (From Org Acronyms Lookup) is a tool to lookup acronyms from a set of YAML files."""
from setuptools import find_packages
from setuptools import setup
from foal.version import URL
from foal.version import VERSION
# Get the long description from the README.
with open("README.md") as f:
README_CONTENT = f.read()
setup(
name="foal",
version=VERSION,
description="Merge and lookup acronyms from a directory tree of definitions.",
long_description=README_CONTENT,
long_description_content_type='text/markdown',
license="GPLv3+",
author="Paul Morgan",
author_email="jumanjiman@gmail.com",
keywords="acronyms lookup",
url=URL,
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"Intended Audience :: End Users/Desktop",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.5, <4",
install_requires=[
"identify>=1.4.18, <2",
"ruamel.yaml>=0.16.10, <1",
],
packages=find_packages(),
package_data={
"foal": [
"data/*.yaml",
"schema/*.yaml",
],
},
entry_points={
"console_scripts": [
"foal=foal.__main__:main",
],
},
)