|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "FastAPI-JSONAPI" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "FastAPI extension to create REST web api according to JSON:API 1.0 specification with FastAPI, Pydantic and data provider of your choice (SQLAlchemy, Tortoise ORM)" |
| 9 | +readme = "README.md" |
| 10 | +license = "MIT" |
| 11 | +authors = [ |
| 12 | + { name = "Aleksey Nekrasov", email = "[email protected]" }, |
| 13 | + { name = "Suren Khorenyan", email = "[email protected]" }, |
| 14 | +] |
| 15 | +keywords = [ |
| 16 | + "fastapi", |
| 17 | + "jsonapi", |
| 18 | + "json:api", |
| 19 | +] |
| 20 | +classifiers = [ |
| 21 | + "Development Status :: 5 - Production/Stable", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Programming Language :: Python :: 3.9", |
| 24 | + "Programming Language :: Python :: 3.10", |
| 25 | + "Programming Language :: Python :: 3.11", |
| 26 | + "Topic :: Utilities", |
| 27 | +] |
| 28 | +dependencies = [ |
| 29 | + "fastapi>=0.79.0", |
| 30 | + "greenlet>=1.1.2", |
| 31 | + "pydantic>=1.9.1", |
| 32 | + "simplejson>=3.17.6", |
| 33 | + "SQLAlchemy>=1.4.39,<2.0.0", |
| 34 | + "tortoise-orm>=0.19.2", |
| 35 | + "uvicorn>=0.18.2", |
| 36 | +] |
| 37 | + |
| 38 | +[project.optional-dependencies] |
| 39 | +all = [ |
| 40 | + "pytest", |
| 41 | + "sphinx", |
| 42 | + "SQLAlchemy>=1.4.39,<2.0.0", |
| 43 | + "tortoise-orm>=0.19.2", |
| 44 | +] |
| 45 | +docs = [ |
| 46 | + "sphinx", |
| 47 | +] |
| 48 | +sqlalchemy = [ |
| 49 | + "SQLAlchemy>=1.4.39,<2.0.0", |
| 50 | +] |
| 51 | +tests = [ |
| 52 | + "pytest", |
| 53 | +] |
| 54 | +tortoise-orm = [ |
| 55 | + "tortoise-orm>=0.19.2", |
| 56 | +] |
| 57 | + |
| 58 | +[project.urls] |
| 59 | +Documentation = "https://fastapi-jsonapi.readthedocs.io/" |
| 60 | +Source = "https://github.com/mts-ai/FastAPI-JSONAPI" |
| 61 | + |
| 62 | +[tool.hatch.version] |
| 63 | +path = "fastapi_jsonapi/__init__.py" |
| 64 | + |
| 65 | +[tool.hatch.build.targets.sdist] |
| 66 | +include = [ |
| 67 | + "/fastapi_jsonapi", |
| 68 | + "/examples", |
| 69 | +] |
| 70 | + |
| 71 | +[tool.hatch.build.targets.wheel] |
| 72 | +packages = [ |
| 73 | + "fastapi_jsonapi" |
| 74 | +] |
| 75 | + |
1 | 76 | [tool.poetry] |
2 | 77 | name = "fastapi-jsonapi" |
3 | | -version = "1.0.0" |
| 78 | +version = "1.0.1" |
4 | 79 | description = "FastAPI extension to create REST web api according to JSON:API specification" |
5 | 80 | authors = [ |
6 | 81 | "Aleksei Nekrasov <[email protected]>", |
@@ -50,11 +125,6 @@ sqla = ["sqlalchemy"] |
50 | 125 | tortoise = ["tortoise-orm"] |
51 | 126 | databases = ["sqlalchemy", "tortoise-orm"] |
52 | 127 |
|
53 | | -[build-system] |
54 | | -requires = ["poetry-core"] |
55 | | -build-backend = "poetry.core.masonry.api" |
56 | | - |
57 | | - |
58 | 128 | [tool.black] |
59 | 129 | line-length = 119 |
60 | 130 | target-version = ["py38"] |
|
0 commit comments