forked from starkware-bitcoin/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (33 loc) · 975 Bytes
/
pyproject.toml
File metadata and controls
39 lines (33 loc) · 975 Bytes
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
[project]
name = "pysimply"
version = "0.1.0"
description = "Python bindings and CLI for Simply via PyO3"
readme = "README.md"
authors = [
{ name = "coremoon", email = "237020170+coremoon@users.noreply.github.com" }
]
requires-python = ">=3.9"
[tool.poetry]
name = "pysimply"
version = "0.1.0"
description = "Python bindings and CLI for Simply via PyO3"
authors = ["coremoon <237020170+coremoon@users.noreply.github.com>"]
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[tool.maturin]
manifest-path = "pysimply/Cargo.toml"
long-description = "README.md"
long-description-content-type = "text/markdown"
[tool.poetry.dependencies]
python = "^3.10"
maturin = "^1.7"
poethepoet = "^0.37.0"
[tool.poetry.dev-dependencies]
pytest = "^8.0"
[tool.poe.tasks.build-wheel]
shell = """
cargo build &&
maturin build --manifest-path pysimply/Cargo.toml &&
poetry run pip install --force-reinstall "$(ls -t target/wheels/pysimply*.whl | head -n 1)"
"""