Skip to content

Commit ee1a54b

Browse files
committed
Refactor simple-extension example to use poetry instead of tox
1 parent 4de6269 commit ee1a54b

File tree

7 files changed

+260
-40
lines changed

7 files changed

+260
-40
lines changed

examples/simple-extension/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "numpy-example"
33
version = "0.1.0"
4-
authors = ["Toshiki Teramura <[email protected]>"]
4+
authors = ["Toshiki Teramura <[email protected]>", "Yuji Kanagawa <[email protected]>"]
55
edition = "2018"
66

77
[lib]

examples/simple-extension/poetry.lock

Lines changed: 244 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build-system]
2+
build-backend = "maturin"
3+
4+
[tool.poetry]
5+
name = "numpy-example"
6+
version = "0.1.0"
7+
description = "A minimum example of rust-numpy"
8+
authors = ["Toshiki Teramura <[email protected]>", "Yuji Kanagawa <[email protected]>"]
9+
10+
[tool.poetry.dependencies]
11+
numpy = ">=1.18"
12+
python = ">=3.6"
13+
14+
[tool.poetry.dev-dependencies]
15+
pytest = "^6.1"

examples/simple-extension/requirements-dev.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/simple-extension/rust_ext/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/simple-extension/setup.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

examples/simple-extension/tox.ini

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)