generated from guilgautier/template-python-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (63 loc) · 2.17 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
[tool.poetry]
name = "mcrppy"
version = "0.1.0"
description = "Simulating a repelled point process and Monte carlo methods for numerical integration"
license = "MIT"
authors = ["Diala Hawat <[email protected]>"]
maintainers = ["Diala Hawat <[email protected]>"]
readme = "README.md"
keywords = ["Repelled point process", "Monte Carlo method"]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Mathematics",
] # https://pypi.org/classifiers/
# https://python-poetry.org/docs/pyproject/#packages
packages = []
# https://python-poetry.org/docs/pyproject/#include-and-exclude
# unexpected behavior when using include = ["data/**/*"]
# will put data at root of site-packages not in package folder
# https://github.com/python-poetry/poetry/issues/2015
# Fall back: create a subpackage src/packagename/data
include = []
exclude = []
# Main dependencies
[tool.poetry.dependencies]
python = ">=3.8,<3.10"
jupyter = { version = "^1.0.0", optional = true }
notebook = { version = "^6.5.2", optional = true }
scikit-learn = "^1.2.0"
numpy = "<=1.20.3"
statsmodels = "^0.13.5"
# extra
structure-factor = { version = "^2.2.1", python = ">=3.7,<3.10", optional = true }
sphinx = { version = "^4.0.3", optional = true }
sphinxcontrib-bibtex = { version = "^2.5.0", optional = true }
sphinxcontrib-proof = { version = "^1.5.0", optional = true }
rstcheck = { version = "^6.1.2", optional = true }
sphinx-rtd-theme = { version = "^1.0.0", optional = true }
[tool.poetry.extras]
structure-factor = ["structure-factor"]
docs = [
"sphinx",
"sphinxcontrib-bibtex",
"sphinxcontrib-proof",
"rstcheck",
"sphinx-rtd-theme",
]
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
dppy = "^0.3.2"
ipykernel = "^6.22.0"
[tool.pytest.ini_options]
# poetry run pytest
minversion = "6.0"
addopts = "-ra -q -vv --cov=mcrppy --cov-report=term-missing --cov-report=xml"
testpaths = ["tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"