-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
75 lines (67 loc) · 2.48 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
"""
grafliq setup module.
"""
import io
import re
from setuptools import find_namespace_packages, setup
with io.open('README.md', 'rt', encoding='utf8') as readme_file:
README = readme_file.read()
with io.open('src/grafliq/__init__.py', 'rt', encoding='utf8') as version_file:
VERSION = re.search(r"__version__ = '(.*?)'", version_file.read()).group(1)
PACKAGES = [
'requests==2.32.3',
]
TEST_PACKAGES = PACKAGES + [
'pytest==8.3.2',
'pytest-cov==5.0.0',
'pygments==2.18.0',
]
setup(
name='grafliq',
version=VERSION,
url='https://github.com/mononobi/grafliq',
project_urls={
# 'Documentation': '',
'Code': 'https://github.com/mononobi/grafliq',
'Issue tracker': 'https://github.com/mononobi/grafliq/issues',
},
license='BSD-3-Clause',
author='mono',
author_email='mononobi@gmail.com',
maintainer='mono',
maintainer_email='mononobi@gmail.com',
description='A simple and pythonic way to query GraphQL endpoints '
'without having to do any string manipulation.',
long_description=README,
long_description_content_type='text/markdown',
keywords=('graphql python grafliq graphql-query pythonic graphql-client '
'graphql-tool pythonic-graphql-tool graphql-for-humans pythonic-graphql '
'graphql-query-builder graphql-queries graphql-query-generator'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_namespace_packages('src', exclude=('tests', 'tests.*')),
package_dir={'': 'src'},
package_data={'': ['*']},
include_package_data=True,
python_requires='>=3.6',
install_requires=PACKAGES,
extras_require={
'tests': TEST_PACKAGES,
},
)