-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (54 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
67 lines (54 loc) · 1.4 KB
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
[build-system]
requires = ["setuptools", "poetry_core>=1.5.0", "pybind11>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "tinymesh"
version = "0.2.4"
description = "TinyMesh: a light-weight mesh processing library"
license = "MPL-v2"
authors = ["Tatsuya Yatagawa <tatsy.mail@gmail.com>"]
readme = 'README.md'
repository = "https://github.com/tatsy/tinymesh"
homepage = "https://github.com/tatsy/tinymesh"
keywords = ['graphics', 'geometry']
exclude = ["src/*", "tests/*", "cmake/*", "data/*", "figures/*"]
[tool.poetry.build]
script = "build_exts.py"
generate-setup-file = true
[tool.poetry.dependencies]
python = ">=3.8,<=3.12"
setuptools = "^57"
pybind11 = "^2.0"
[tool.poetry.group.dev.dependencies]
black = "*"
flake8 = "*"
mypy = "*"
isort = "*"
pytest = "*"
jupyterlab = "*"
matplotlib = "*"
numpy = [
{ version = "~1.26.0", python = "^3.12" },
{ version = "*", python = ">=3.8,<3.12" },
]
scipy = [
{ version = "~1.11.2", python = "^3.12" },
{ version = "*", python = ">=3.8,<3.12" },
]
[tool.isort]
profile = "black"
length_sort = "True"
line_length = 120
[tool.mypy]
python_version = 3.9
follow_imports = "silent"
disallow_any_generics = "True"
strict_optional = "True"
check_untyped_defs = "True"
allow_redefinition = "True"
[tool.flake8]
max-line-length = 120
ignore = "Q000,E127,E203,E402,W503,W504"
[tool.black]
target-version = ["py39", "py310", "py311"]
line-length = 120