Skip to content

Commit 989fdf4

Browse files
committed
switch to pyproject
1 parent 39de1d4 commit 989fdf4

File tree

8 files changed

+41
-79
lines changed

8 files changed

+41
-79
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.3
1+
3.7.9

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
# gql-query-builder
22

3-
![](https://github.com/youyo/gql-query-builder/workflows/Publish%20python%20package/badge.svg)
43

54
This is a GraphQL query builder.
65
Use with method chain.
76

7+
Specifically this is a fork of the original https://github.com/youyo/gql-query-builder with pyproject to fix https://github.com/youyo/gql-query-builder/issues/8 and make it installable from newer python tools
8+
9+
The name in pypi is gql-query-builder-with-pyproject but it still uses `import gql-query-builder`
10+
811
## Install
912

1013
```
11-
pip install gql-query-builder
14+
pip install gql-query-builder-with-pyproject
15+
```
16+
or if using uv
17+
```
18+
uv add gql-query-builder-with-pyproject
1219
```
1320

1421
## Usage

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[project]
2+
name = "gql-query-builder-with-pyproject"
3+
authors = [ {name = "youyo", email = "1003ni2@gmail.com"}]
4+
version = "0.1.8"
5+
description = "This is a GraphQL query builder. This is a fork with pyproject to make installing easier"
6+
readme = "README.md"
7+
requires-python = ">=3.6"
8+
9+
license = {text = "MIT License"}
10+
classifiers = [
11+
"License :: OSI Approved :: MIT License",
12+
"Development Status :: 3 - Alpha",
13+
"Intended Audience :: Developers",
14+
"Topic :: Software Development",
15+
"License :: OSI Approved :: MIT License",
16+
"Programming Language :: Python :: 3",
17+
]
18+
keywords = ["graphql", "gql", "query-builder"]
19+
[project.urls]
20+
Homepage = "https://github.com/rtaycher/gql-query-builder"
21+
22+
[tool.pytest.ini_options]
23+
testpaths = ["tests/test.py"]
24+

setup.cfg

Lines changed: 0 additions & 8 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 52 deletions
This file was deleted.
File renamed without changes.

tox.ini

Lines changed: 0 additions & 16 deletions
This file was deleted.

uv.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)