-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·26 lines (23 loc) · 1005 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2017 Canonical Ltd. This software is licensed under the
# GNU Lesser General Public License version 3 (see the file LICENSE).
from setuptools import find_packages, setup
VERSION = "0.40"
setup(
name="acceptable",
version=VERSION,
description="API metadata and schema tool for generating tests and documentation",
author="Canonical Online Services",
author_email="online-services@lists.canonical.com",
url="https://github.com/canonical/acceptable",
license="LGPLv3",
packages=find_packages(exclude=["examples", "*tests"]),
long_description="".join(open("README.rst").readlines()[2:]),
long_description_content_type="text/x-rst",
install_requires=["jsonschema", "pyyaml", "Jinja2"],
extras_require=dict(flask=["Flask"], django=["django>=2.1,<3"]),
test_suite="acceptable.tests",
include_package_data=True,
entry_points={"console_scripts": ["acceptable = acceptable.__main__:main"]},
)