forked from tfoxy/graphene-django-optimizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (40 loc) · 1.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
#!/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.6.1',
author='Tomás Fox',
author_email='[email protected]',
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 :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
],
)