-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
78 lines (70 loc) · 1.83 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
[tool.poetry]
name = "httpstan"
version = "4.13.0"
description = "HTTP-based interface to Stan, a package for Bayesian inference."
authors = [
"Allen Riddell <[email protected]>",
"Ari Hartikainen <[email protected]>",
"Matthew Carter <[email protected]>",
]
license = "ISC"
readme = "README.rst"
homepage = "https://mc-stan.org"
repository = "https://github.com/stan-dev/httpstan"
documentation = "https://httpstan.readthedocs.io"
build = "build.py"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: ISC License (ISCL)",
]
# include: poetry automatically excludes paths mentioned in .gitignore, selectively add back
include = [
"httpstan/*.o",
"httpstan/*.cpp",
"httpstan/lib/libsundials*",
"httpstan/lib/libtbb*",
"httpstan/stanc",
"httpstan/include/**/*",
"doc/openapi.yaml",
]
[tool.poetry.dependencies]
python = "^3.10"
setuptools = ">=48.0"
aiohttp = "^3.7"
appdirs = "^1.4"
webargs = "^8.0"
marshmallow = "^3.10"
numpy = ">=1.19"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-asyncio = "^0.15"
apispec = {version = "^6.0", extras = ["yaml"]}
autoflake = "^1.4"
black = "22.3.0"
isort = "^5.9"
mypy = "0.981"
flake8 = "^7.0.0"
# documentation
# NOTE: when changing these, update docs-requirements.txt
sphinx = "^7.2"
sphinx-autoapi = "^3.0.0"
sphinx-rtd-theme = "^2.0.0"
sphinxcontrib-openapi = "^0.8.4"
sphinxcontrib-redoc = "^1.6"
[tool.black]
line-length = 119
exclude = 'httpstan/include'
[tool.isort]
profile = "black"
combine_as_imports = true
known_first_party = "httpstan,tests"
known_local_folder = "helpers"
skip_glob = ['httpstan/include/*']
[tool.coverage.run]
branch = true
omit = ["httpstan/__main__.py"]
[tool.coverage.report]
fail_under = 20
[build-system]
requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"