-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (40 loc) · 1.27 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
from setuptools import find_packages, setup
_TEST_REQUIRE = [
"pytest==6.2.4",
"pytest-cov==2.12.1",
"pytest-asyncio==0.15.1",
"pylint==2.9.6",
"xenon==0.7.3",
"black==21.7b0",
"isort==5.9.3",
]
_VERSION = "1.0.0"
_PACKAGES = find_packages(exclude=["tests*"])
def _read_file(filename):
with open(filename) as afile:
return afile.read()
setup(
name="tartiflette-plugin-time-it",
version=_VERSION,
description=(
"A tartiflette plugin that will print execution duration of a field"
),
long_description=_read_file("README.md"),
long_description_content_type="text/markdown",
url="https://github.com/tartiflette/tartiflette-plugin-time-it",
author="Aurelien Busi",
author_email="[email protected]",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="graphql protocol api tartiflette timeit",
packages=_PACKAGES,
install_requires=["tartiflette>=1.0.0,<2.0.0"],
tests_require=_TEST_REQUIRE,
extras_require={"test": _TEST_REQUIRE},
include_package_data=True,
)