-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
107 lines (97 loc) · 2.4 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[tool.poetry]
name = "splipy"
version = "1.8.2"
description = "Spline modelling library for Python"
authors = [
"Kjetil Andre Johannessen <[email protected]>",
"Eivind Fonn <[email protected]>",
]
maintainers = [
"Kjetil Andre Johannessen <[email protected]>",
"Eivind Fonn <[email protected]>",
]
license = "GLP-3.0-only"
readme = "PyPI_text.md"
homepage = "https://github.com/SINTEF/Splipy"
repository = "https://github.com/SINTEF/Splipy"
documentation = "https://sintef.github.io/Splipy/"
keywords = [
"Bspline",
"Splines",
"NURBS",
"Curve",
"Surface",
"Volume",
"Interpolation",
"Approximation",
"Fit",
"Integration",
"Differentiation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"Topic :: Scientific/Engineering :: Mathematics",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
]
include = [
"splipy/templates/*.bpt",
{ path = "splipy/*.so", format="wheel" },
]
[tool.poetry.build]
script = "build_ext.py"
generate-setup-file = true
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
numpy = "^1.21"
scipy = "^1.9"
[tool.poetry.extras]
FiniteElement = ["nutils"]
Images = ["opencv-python"]
Rhino = ["rhino3dm"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.0"
pytest-benchmark = "^4.0.0"
cython = "^0.29.34"
sphinx = "^6.1.3"
bump-my-version = "^0.17.3"
[build-system]
requires = ["poetry-core", "cython", "numpy", "wheel", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.bumpversion]
current_version = "1.8.2"
allow_dirty = false
commit = true
tag = true
parse = """(?x)
(?P<major>[0-9]+)
\\.(?P<minor>[0-9]+)
\\.(?P<patch>[0-9]+)
(?:
(?P<pre_label>a|b|rc|stable)
(?P<pre_number>[0-9]+)?
)?
"""
serialize = [
"{major}.{minor}.{patch}{pre_label}{pre_number}",
"{major}.{minor}.{patch}",
]
message = "Bump version: {current_version} -> {new_version}"
tag_message = "Bump version: {current_version} -> {new_version}"
sign_tags = true
[tool.bumpversion.parts.pre_label]
optional_value = "stable"
values = [
"a",
"b",
"rc",
"stable",
]
[tool.bumpversion.parts.pre_number]
first_value = "1"
[[tool.bumpversion.files]]
filename = "splipy/__init__.py"
[[tool.bumpversion.files]]
filename = "pyproject.toml"