Use poetry instead of pip

This commit is contained in:
Joey Yakimowich-Payne 2023-08-09 10:20:39 -06:00
commit e73ed6e5d8
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
3 changed files with 620 additions and 2 deletions

18
pyproject.toml Normal file
View file

@ -0,0 +1,18 @@
[tool.poetry]
name = "nextjs-fastapi"
version = "0.1.0"
description = "Next.js and fastapi starter for github projects"
authors = ["Joey Yakimowich-Payne <jyapayne@pm.me>"]
license = "MIT"
readme = "README.md"
packages = [{include = "nextjs_fastapi"}]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.101.0"
uvicorn = {extras = ["standard"], version = "^0.23.2"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"