-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (67 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
73 lines (67 loc) · 2.27 KB
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
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
[build-system]
requires = [
"setuptools",
"build>=1.2.0"
]
build-backend = "setuptools.build_meta"
[project]
name = "zepben.eas"
version = "1.0.0b1"
description = "Python SDK for interacting with the Evolve App Server"
readme = {file = "README.md", content-type = "text/markdown"}
license = "MPL-2.0"
requires-python = '>=3.10'
authors = [
{name = "Ramon Bouckaert", email = "ramon.bouckaert@zepben.com"},
{name = "Max Chesterfield", email = "max.chesterfield@zepben.com"}
]
dependencies = [
"geojson==2.5.0",
"httpx==0.28.1",
"graphql-core==3.2.8",
"pydantic",
"pydantic_core",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent"
]
[project.urls]
Repository = "https://github.com/zepben/eas-python-client"
Homepage = "https://zepben.com"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-httpserver==1.0.8",
"trustme==0.9.0"
]
codegen = [
"ariadne-codegen @ git+https://github.com/chestm007/ariadne-codegen" # This could break a pypi upload. Waiting on https://github.com/mirumee/ariadne-codegen/pull/413 to be merged.
]
[tool.setuptools.packages.find]
where = ["src/"]
[tool.ariadne-codegen]
remote_schema_url = "http://127.0.0.1:7654/api/graphql" # Set to address of Evolve App Server
enable_custom_operations=true
include_comments=false
target_package_path='src/zepben/eas/lib'
target_package_name='generated_graphql_client'
introspection_descriptions=true
introspection_input_value_deprecations=true
plugins=[
"zepben.eas.lib.ariadne_plugins.custom_query_type_hinter.CustomQueryTypeHinterPlugin",
"zepben.eas.lib.ariadne_plugins.missed_import_checker.MissedImportCheckerPlugin",
"zepben.eas.lib.ariadne_plugins.gql_all_fields.GqlAllFieldsPlugin",
"zepben.eas.lib.ariadne_plugins.license_headers.LicenseHeadersPlugin",
]