-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (44 loc) · 1.38 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (44 loc) · 1.38 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
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[project]
name = "mmdr"
version = "0.3.0"
description = "Fast native Mermaid diagram rendering (Rust-based) - no browser required"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
authors = [
{ name = "1jehuang" }
]
keywords = ["mermaid", "diagram", "svg", "render", "rust"]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/1jehuang/mermaid-rs-renderer"
Repository = "https://github.com/1jehuang/mermaid-rs-renderer"
# This makes `mmdr` available as a terminal command after `pip install mmdr`,
# same idea as mermaid-cli's `mmdc` command. It just calls main() in
# python/mmdr/__main__.py.
[project.scripts]
mmdr = "mmdr.__main__:main"
[project.optional-dependencies]
docs = [
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.24",
]
[tool.maturin]
manifest-path = "Cargo.toml"
python-source = "src"
module-name = "mmdr._mmdr"
features = ["pyo3/extension-module"]
[tool.pytest.ini_options]
minversion = "7.0"
# Add your source code directories to the Python search path
pythonpath = ["src"]
# Limit where pytest looks for test files to save time and prevent false positives
testpaths = ["tests"]