forked from msg-lab/graphene-django-optimizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (38 loc) · 1.42 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner >=4.0,<5dev"] if needs_pytest else []
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="graphene-django-optimizer",
version="0.8.0",
author="Tomás Fox",
author_email="tomas.c.fox@gmail.com",
description="Optimize database access inside graphene queries.",
license="MIT",
keywords="graphene django optimizer optimize graphql query prefetch select related",
url="https://github.com/tfoxy/graphene-django-optimizer",
packages=["graphene_django_optimizer"],
setup_requires=pytest_runner,
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.1",
],
)