forked from Deltares/GEOLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (74 loc) · 1.93 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[tool.poetry]
name = "d-geolib"
version = "1.3.1"
description = "Python wrappers around the input and output files of the Deltares D-Serie and D-GEO Suite models"
authors = ["Maarten Pronk <[email protected]>", "Deltares"]
license = "MIT"
homepage = "https://deltares.github.io/GEOLib/"
documentation = "https://deltares.github.io/GEOLib/"
repository = "https://github.com/Deltares/GEOLib"
readme = "README.rst"
packages = [
{include = "geolib"}
]
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0.0"
pydantic = "^1.10.7"
zipp = "^3.15.0"
fastapi = {version = "^0.95.1", optional = true}
uvicorn = {version = "^0.21.1", optional = true}
requests = "^2.29.0"
jinja2 = "^3.1.2"
httpx = {version = "^0.24.0", optional = true}
starlette = "^0.26.1"
shapely = "^2.0.1"
python-dotenv = "^1.0.0"
matplotlib = ">=3.7.2"
[tool.poetry.group.dev.dependencies]
teamcity-messages = "^1.32"
flake8 = "^6.0.0"
black = "^23.3.0"
devtools = "^0.11.0"
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
mypy = "^1.2.0"
sphinx = "^7.0.1"
recommonmark = "^0.7.1"
sphinx-autodoc-typehints = "^1.23.0"
releases = "^2.1.0"
sphinx-multiversion = "^0.2.4"
isort = "^5.12.0"
commitizen = "^3.1.0"
tomlkit = "^0.11.8"
[tool.poetry.extras]
server = ["fastapi", "uvicorn", "httpx", "starlette"]
[tool.poetry.scripts]
geolib_server = "geolib.service.main:app"
[tool.black]
line-length = 90
target-version = ['py37']
[build-system]
requires = ["poetry>=1.2.2"]
build-backend = "poetry.masonry.api"
[tox]
isolated_build = true
envlist = "py37, py38, py39, py310"
[tool.pytest.ini_options]
testpaths = ["tests"]
[isort]
multi_line_output=3
include_trailing_comma=true
force_grid_wrap=0
use_parentheses=true
line_length=90
profile = "black"
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.3.1"
tag_format = "v$major.$minor.$patch$prerelease"
version_files = [
"pyproject.toml:^version",
"tests/test_geolib.py",
"geolib/__init__.py:__version__",
]
annotated_tag = true