Skip to content

Commit 4adf841

Browse files
author
Rami Chowdhury
committed
Add pyproject, remove setup
1 parent a8999f9 commit 4adf841

File tree

3 files changed

+38
-43
lines changed

3 files changed

+38
-43
lines changed

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[tool.poetry]
2+
name = "graphene_pydantic"
3+
version = "0.1"
4+
description = "Graphene Pydantic integration"
5+
readme = "README.md"
6+
repository = "https://github.com/upsidetravel/graphene-pydantic"
7+
authors = [
8+
"Rami Chowdhury <rami@upside.com>"
9+
]
10+
license = "Apache-2.0"
11+
classifiers = [
12+
"Development Status :: 3 - Alpha",
13+
"Intended Audience :: Developers",
14+
"Topic :: Software Development :: Libraries",
15+
"Programming Language :: Python :: 3.6",
16+
"Programming Language :: Python :: 3.7",
17+
"Programming Language :: Python :: Implementation :: PyPy",
18+
]
19+
keywords = ["api", "graphql", "protocol", "rest", "relay", "graphene", "pydantic", "model"]
20+
21+
[tool.poetry.dependencies]
22+
python = "^3.6"
23+
# To keep things simple, we only support newer versions of Graphene & Pydantic
24+
graphene = ">=2.1.3,<3"
25+
pydantic = ">=0.25,<0.30"
26+
27+
[tool.poetry.dev-dependencies]
28+
# testing
29+
pytest = { version = "4.6.3", extras = ["test"] }
30+
pytest-cov = { version = "4.6.3", extras = ["test"] }
31+
tox = "3.7.0" # sync with tox.ini
32+
mypy = "0.720"
33+
black = "19.3b0"
34+
pre-commit = "1.14.4"
35+
36+
[build-system]
37+
requires = ["poetry>=0.12"]
38+
build-backend = "poetry.masonry.api"

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[aliases]
2-
test=pytest
3-
41
[flake8]
52
exclude = setup.py,docs/*,examples/*,tests/*,.tox/*
63
max-line-length = 120

setup.py

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

0 commit comments

Comments
 (0)