Skip to content

Commit d772223

Browse files
committed
build: add info to build the package in pyproject.toml
1 parent dd92aa7 commit d772223

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

jsonapi_pydantic/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from jsonapi_pydantic import v1_0
2+
3+
__version__ = "0.1.0"
4+
5+
__all__ = ["v1_0"]

pyproject.toml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,33 @@
22
name = "jsonapi-pydantic"
33
version = "0.1.0"
44
description = "JSON:API implementation with pydantic."
5+
56
authors = ["impocode <[email protected]>"]
7+
maintainers = ["impocode <[email protected]>"]
8+
9+
license= "MIT"
10+
readme = "readme.md"
11+
12+
keywords = ["jsonapi", "pydantic"]
13+
classifiers = [
14+
"License :: OSI Approved :: MIT License",
15+
"Programming Language :: Python :: 3.7",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Typing :: Typed",
20+
]
21+
22+
homepage = "https://github.com/impocode/jsonapi-pydantic"
23+
repository = "https://github.com/impocode/jsonapi-pydantic"
24+
documentation = "https://github.com/impocode/jsonapi-pydantic"
25+
26+
[tool.poetry.dependencies]
27+
python = "^3.7"
28+
pydantic = "^1.9.1"
29+
30+
[tool.poetry.urls]
31+
"Bug Tracker" = "https://github.com/impocode/jsonapi-pydantic/issues"
632

733
[tool.isort]
834
line_length = 99
@@ -12,12 +38,6 @@ include_trailing_comma = false
1238
[tool.black]
1339
line-length = 99
1440

15-
[tool.poetry.dependencies]
16-
python = "^3.7"
17-
pydantic = "^1.9.1"
18-
19-
[tool.poetry.dev-dependencies]
20-
2141
[build-system]
2242
requires = ["poetry-core>=1.0.0"]
2343
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)