-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port example from peotry to tox to simplify dependency management
- Loading branch information
1 parent
8b7ce5c
commit 18e6863
Showing
6 changed files
with
60 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,3 @@ build/ | |
*.egg-info/ | ||
**/dist/ | ||
__pycache__ | ||
poetry.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
[build-system] | ||
build-backend = "maturin" | ||
requires = ["maturin>=0.12,<0.13"] | ||
|
||
[tool.poetry] | ||
name = "numpy-linalg-example" | ||
version = "0.1.0" | ||
description = "rust-numpy example with ndarray-linalg" | ||
authors = ["Yuji Kanagawa <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
numpy = ">=1.18" | ||
python = ">=3.7,<3.11" | ||
|
||
[tool.poetry.dev-dependencies] | ||
maturin = ">=0.12,<0.13" | ||
pytest = "^6.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[tox] | ||
skipsdist = True | ||
|
||
[testenv] | ||
deps = | ||
pip | ||
numpy | ||
pytest | ||
commands = | ||
pip install . | ||
pytest {posargs} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
[build-system] | ||
build-backend = "maturin" | ||
requires = ["maturin>=0.12,<0.13"] | ||
|
||
[tool.poetry] | ||
name = "numpy-example" | ||
version = "0.1.0" | ||
description = "A minimum example of rust-numpy" | ||
authors = ["Toshiki Teramura <[email protected]>", "Yuji Kanagawa <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
numpy = ">=1.18" | ||
python = ">=3.7,<3.11" | ||
|
||
[tool.poetry.dev-dependencies] | ||
maturin = ">=0.12,<0.13" | ||
pytest = "^6.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[tox] | ||
skipsdist = True | ||
|
||
[testenv] | ||
deps = | ||
pip | ||
numpy | ||
pytest | ||
commands = | ||
python -m pip install . | ||
pytest {posargs} |