-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
56 lines (47 loc) · 1.62 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
[tool.poetry]
name = "pymath_compute"
version = "0.3.2"
description = "Tool to handle mathematical operations using Variables and Mathematical Expressions."
authors = ["ricardoleal20 <rick.leal420@gmail.com>"]
homepage = "https://pymath.ricardoleal20.dev"
documentation = "https://pymath.ricardoleal20.dev/docs/"
repository = "https://github.com/ricardoleal20/pymath_compute"
license = "MIT"
readme = "README.md"
keywords = ["scientific_computing", "applied_math", "optimization"]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Mathematics",
]
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
numpy = ">=1.26.4"
scipy = ">=1.13.1"
maturin = ">=1.7.0"
matplotlib = ">=3.9.1"
[tool.poetry.dev-dependencies]
pylint = "~=3.2.5"
pytest = "~=8.2.2"
pytest-cov = "~=5.0"
pytest-xdist = "~=3.6.1"
reflex = ">=0.5.5"
[tool.pylint]
ignore-paths = ["pymath_compute/engine/*"]
disable = ["E0401", "E0611"]
fail-under = 9.8
[build-system]
requires = ["maturin>=1.7.0"]
build-backend = "maturin"
[tool.maturin]
bindings = "pyo3"
features = ["pyo3/extension-module"]
module-name = "pymath_compute.engine"
[tool.setuptools.packages]
# Pure Python packages/modules
find = { where = ["python"] }
[[tool.setuptools-rust.ext-modules]]
# Private Rust extension module to be nested into the Python package
target = "pymath_compute.engine" # The last part of the name (e.g. "_lib") has to match lib.name in Cargo.toml,
# but you can add a prefix to nest it inside of a Python package.
path = "Cargo.toml" # Default value, can be omitted
binding = "PyO3" # Default value, can be omitted