-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reuse the cli arg parsing from rust for python
- Loading branch information
Showing
8 changed files
with
431 additions
and
1,198 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,10 @@ classifiers = [ | |
] | ||
authors = [ | ||
{ name = "Pasi Niemi", email = "[email protected]" }, | ||
{ name = "Akseli Lukkarila", email = "[email protected]" } | ||
{ name = "Akseli Lukkarila", email = "[email protected]" }, | ||
] | ||
dynamic = ["version"] | ||
dependencies = ["typer"] | ||
dependencies = [] | ||
|
||
[project.optional-dependencies] | ||
dev = ["ruff", "maturin"] | ||
|
@@ -25,13 +25,17 @@ dev = ["ruff", "maturin"] | |
Repository = "https://github.com/NitorCreations/vault" | ||
|
||
[project.scripts] | ||
pvault = "p_vault.vault:app" | ||
pvault = "p_vault.vault:main" | ||
|
||
[tool.maturin] | ||
features = ["pyo3/extension-module"] | ||
python-source = "python" | ||
module-name = "p_vault.nitor_vault_rs" | ||
|
||
[tool.pyright] | ||
venvPath = "." | ||
venv = ".venv" | ||
|
||
[tool.ruff] | ||
# https://docs.astral.sh/ruff/configuration/ | ||
include = ["*.py", "*.pyi", "**/pyproject.toml"] | ||
|
Oops, something went wrong.