halfapi/pyproject.toml
Maxime Alves LIRMM@home 1d805abb13 pyproject.toml correction for poetry use, setup.py removal (useless)
use the poetry install -E organigramme option to install the domain in
the virtual environement
2020-07-03 21:25:35 +02:00

30 lines
736 B
TOML

[tool.poetry]
name = "halfapi"
version = "0.1.0"
description = ""
authors = ["Joël Maizi <joel.maizi@lirmm.fr>", "Maxime Alves <maxime.alves@lirmm.fr>"]
[tool.poetry.dependencies]
click = "^7.0.0"
half-orm = { git = "git@gite.lirmm.fr:newsi/halfORM.git" }
PyJWT = "^1.7.0"
python = "^3.7"
starlette = "^0.13.0"
uvicorn = "^0.11.0"
fastapi = { version = "*", optional = true }
organigramme = { git = "git@gite.lirmm.fr:newsi/api/organigramme.git", optional = true }
[tool.poetry.dev-dependencies]
pytest = "^3.4.0"
requests = "^2.0.0"
[tool.poetry.extras]
organigramme = [ "fastapi", "organigramme" ]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.scripts]
halfapi = 'halfapi.cli:cli'